verifySourceFile
verifySourceFile(sourcePath: string, seedPath: string, expected: Digest, signal?: AbortSignal): Promise<VerifyInfo>
函数 verifySourceFile:处理 MasterSeed V1 数据种子。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
sourcePath | string | 参数 sourcePath:为 verifySourceFile 提供所需输入。 |
seedPath | string | 参数 seedPath:为 verifySourceFile 提供所需输入。 |
expected | Digest | 参数 expected:为 verifySourceFile 提供所需输入。 |
signal | AbortSignal | 参数 signal:为 verifySourceFile 提供所需输入。 |
返回值
Promise<VerifyInfo>
来源
此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。