Documentation ¶
Index ¶
- func Lclearxattrs(path string) error
- func Lgetxattr(path string, name string) ([]byte, error)
- func Llistxattr(path string) ([]string, error)
- func Lutimes(path string, atime, mtime time.Time) error
- func Majordev(device Dev_t) uint64
- func Minordev(device Dev_t) uint64
- func Mknod(path string, mode os.FileMode, dev Dev_t) error
- func Tarmode(typeflag byte) uint32
- func Unlink(path string) error
- type Dev_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lclearxattrs ¶
Lclearxattrs is a wrapper around Llistxattr and Lremovexattr, which attempts to remove all xattrs from a given file.
func Lgetxattr ¶
Lgetxattr is a wrapper around unix.Lgetattr, to abstract the resizing of the returned []string.
func Llistxattr ¶
Llistxattr is a wrapper around unix.Llistattr, to abstract the NUL-splitting and resizing of the returned []string.
func Lutimes ¶
Lutimes is a wrapper around utimensat(2), with the AT_SYMLINK_NOFOLLOW flag set, to allow changing the time of a symlink rather than the file it points to.
Types ¶
Click to show internal directories.
Click to hide internal directories.