microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
lib/codepush-node-sdk/dist/update-contents/code-signing/hash-utils.d.ts
15lines · modecode
| 1 | /// <reference types="node" /> |
| 2 | import * as stream from 'stream'; |
| 3 | export declare function generatePackageHashFromDirectory(directoryPath: string, basePath: string): Promise<string>; |
| 4 | export declare function generatePackageManifestFromDirectory(directoryPath: string, basePath: string): Promise<PackageManifest>; |
| 5 | export declare function hashFile(filePath: string): Promise<string>; |
| 6 | export declare function hashStream(readStream: stream.Readable): Promise<string>; |
| 7 | export declare class PackageManifest { |
| 8 | private _map; |
| 9 | constructor(map?: Map<string, string>); |
| 10 | toMap(): Map<string, string>; |
| 11 | computePackageHash(): string; |
| 12 | serialize(): string; |
| 13 | static deserialize(serializedContents: string): PackageManifest; |
| 14 | static isIgnored(relativeFilePath: string): boolean; |
| 15 | } |
| 16 | |