microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
bf370babc67fceb47785d380f57673f963c53d2b

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

lib/codepush-node-sdk/dist/update-contents/code-signing/hash-utils.d.ts

15lines · modecode

1/// <reference types="node" />
2import * as stream from 'stream';
3export declare function generatePackageHashFromDirectory(directoryPath: string, basePath: string): Promise<string>;
4export declare function generatePackageManifestFromDirectory(directoryPath: string, basePath: string): Promise<PackageManifest>;
5export declare function hashFile(filePath: string): Promise<string>;
6export declare function hashStream(readStream: stream.Readable): Promise<string>;
7export 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