Skip to content

craft-hub / readLocalRepositoryCatalogFile

Function: readLocalRepositoryCatalogFile() ​

readLocalRepositoryCatalogFile(localPath, path): Promise<{ commit?: string; content: string; localPath: string; repository?: string; }>

Defined in: packages/craft-hub/src/workspace-repository.ts:93

Identify a local checkout and read its current TypeScript config, including uncommitted changes, without execution.

Parameters ​

localPath ​

string

path ​

string

Returns ​

Promise<{ commit?: string; content: string; localPath: string; repository?: string; }>

Released under the MIT License.