Documentation
¶
Index ¶
- func Copy(srcDir string, targetDir string) error
- func CopyFile(src string, dst string) error
- func CopyFileAll(src string, dst string) error
- func CopyReplaceDir(srcDir string, targetDir string, useLink bool) error
- func LinkDirToTmp(srcDir string, tmpDir string) (dstTmpDir string, err error)
- func LinkFile(srcFile string, dstFile string) error
- func LinkFiles(srcDir string, targetDir string) error
- type Options
- func (c *Options) Concurrent(n int) *Options
- func (c *Options) Copy(srcDir string, targetDir string) error
- func (c *Options) CopyReplaceDir(srcDir string, targetDir string) error
- func (c *Options) Ignore(subPath ...string) *Options
- func (c *Options) IgnoreSuffix(suffix ...string) *Options
- func (c *Options) IncludeSuffix(suffix ...string) *Options
- func (c *Options) UseLink() *Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileAll ¶ added in v1.0.5
CopyFileAll copy src to dst, creates dir if necessary
func CopyReplaceDir ¶
Replace the target dir with files copy
Types ¶
type Options ¶ added in v1.0.6
type Options struct {
// contains filtered or unexported fields
}
func NewOptions ¶ added in v1.0.6
func NewOptions() *Options
func (*Options) Concurrent ¶ added in v1.0.6
func (*Options) CopyReplaceDir ¶ added in v1.0.6
func (*Options) IgnoreSuffix ¶ added in v1.0.26
func (*Options) IncludeSuffix ¶ added in v1.0.26
Click to show internal directories.
Click to hide internal directories.