filecopy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyReplaceDir

func CopyReplaceDir(srcDir string, targetDir string, useLink bool) error

func LinkDirToTmp

func LinkDirToTmp(srcDir string, tmpDir string) (dstTmpDir string, err error)

func LinkFile

func LinkFile(srcFile string, dstFile string) error

func LinkFiles

func LinkFiles(srcDir string, targetDir string) error

NOTE: sym link must use abs path to ensure the file work correctly

Types

This section is empty.

Jump to

Keyboard shortcuts

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