Documentation ¶
Index ¶
- func CopyRegularFile(src, dest string) (err error)
- func CopySymlink(src, dest string) error
- func CopyTree(src, dest string, uidRange *uid.UidRange) error
- func DirSize(path string) (int64, error)
- func IsExecutable(path string) bool
- func LUtimesNano(path string, ts []syscall.Timespec) error
- func Lgetxattr(path string, attr string) ([]byte, error)
- func Lsetxattr(path string, attr string, data []byte, flags int) error
- func TimeToTimespec(time time.Time) (ts syscall.Timespec)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyRegularFile ¶ added in v0.9.0
func CopySymlink ¶ added in v0.9.0
func IsExecutable ¶ added in v1.5.0
IsExecutable checks if the given path points to an executable file by checking the executable bit. Inspired by os.exec.LookPath()
func LUtimesNano ¶
TODO(sgotti) waiting for a utimensat functions accepting flags and a LUtimesNano using it in https://github.com/golang/sys/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.