transfer

package
v0.0.0-...-b76680d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTransfer

func ParseTransfer(trans string) (string, string, error)

func ParseTransferWithEnvs

func ParseTransferWithEnvs(trans string, envs map[string]string) (string, string, error)

ParseTransferWithEnvs parses transfer directive to get source and dest from it,and source will be expanded using provided envs.

func PipeFile

func PipeFile(src string) func() (io.Reader, error)

PipeFile pipes source of file or directory to a trigger function, which could used to send source data to io.Write.

func Validate

func Validate(trans string) error

Validate validates transfer syntex.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL