MCPcopy Index your code
hub / github.com/devcontainers/cli / getFolderHash

Function getFolderHash

src/spec-node/utils.ts:626–628  ·  view source on GitHub ↗
(fsPath: string)

Source from the content-addressed store, hash-verified

624}
625
626export function getFolderHash(fsPath: string): string {
627 return crypto.createHash('sha256').update(fsPath).digest('hex');
628}
629
630export async function createFeaturesTempFolder(params: { cliHost: CLIHost; package: PackageConfiguration }): Promise<string> {
631 const { cliHost } = params;

Callers 1

getFolderImageNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected