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