Skip to content

tenant\_workspace/source

tenant_workspace/source

Type Aliases

WorkspaceSourceWalkOptions

type WorkspaceSourceWalkOptions = object;

Defined in: platform-utils/src/tenant_workspace/source.ts:13

Properties

Property Type Description Defined in
isForbiddenDir (name) => boolean Return true if a directory name (at any depth) should be skipped. platform-utils/src/tenant_workspace/source.ts:17
isTopLevelPath (name) => boolean Return true if a top-level entry name should be included in the walk. platform-utils/src/tenant_workspace/source.ts:15

Functions

isUtf8Text()

function isUtf8Text(buf): boolean;

Defined in: platform-utils/src/tenant_workspace/source.ts:4

Parameters

Parameter Type
buf Uint8Array

Returns

boolean


walkWorkspaceSourceFiles()

function walkWorkspaceSourceFiles(workspacePath, options): Promise<Record<string, string>>;

Defined in: platform-utils/src/tenant_workspace/source.ts:64

Parameters

Parameter Type
workspacePath string
options WorkspaceSourceWalkOptions

Returns

Promise<Record<string, string>>


walkWorkspaceSourceRelativePaths()

function walkWorkspaceSourceRelativePaths(workspacePath, options): Promise<string[]>;

Defined in: platform-utils/src/tenant_workspace/source.ts:20

Parameters

Parameter Type
workspacePath string
options WorkspaceSourceWalkOptions

Returns

Promise<string[]>