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