MCPcopy Create free account
hub / github.com/angular/dev-infra /

Class

ng-dev/release/publish/directory-hash.ts:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11/** Class holding methods for hashing a directory. */
12export abstract class DirectoryHash {
13 /** Computes a hash for the given directory. */
14 static async compute(dirPath: string): Promise<string> {
15 return (await hashElement(dirPath, {})).hash;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected