Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotRelinkable = errors.New("not relinkable")
)
Functions ¶
This section is empty.
Types ¶
type BinarySynchronizer ¶
type BinarySynchronizer interface {
Sync(ctx context.Context, src_filepath, dst_filename, uri, sha256sum string) error
}
func NewBinarySynchronizer ¶
func NewBinarySynchronizer(args ...interface{}) (BinarySynchronizer, error)
type BinarySynchronizerOption ¶
type BinarySynchronizerOption struct { TempPath string SyncTimeout time.Duration ForceRelink bool IgnoreChecksum bool }
func NewBinarySynchronizerOption ¶
func NewBinarySynchronizerOption() *BinarySynchronizerOption
Click to show internal directories.
Click to hide internal directories.