Skip to main content

CreateSeedFile

func CreateSeedFile(ctx context.Context, sourcePath, seedPath string, options CreateSeedFileOptions) (info SeedInfo, err error)

CreateSeedFile writes a seed beside the target, then publishes it. The default is no-overwrite; an incomplete seed is never left at seedPath.

Parameters

NameTypeDescription
ctxcontext.ContextParameter ctx of CreateSeedFile.
sourcePathstringParameter sourcePath of CreateSeedFile.
seedPathstringParameter seedPath of CreateSeedFile.
optionsCreateSeedFileOptionsParameter options of CreateSeedFile.

Returns

(info SeedInfo, err error)

Source

This page is generated from SDK source metadata and the translation catalog.