Documentation ¶
Index ¶
- Constants
- func CopyFileRange(fdin uintptr, offin *int64, fdout uintptr, offout *int64, len int, flags int) (n int, err error)
- func Fchmodat(dirfd int, path string, mode uint32, flags int) error
- func Getxattr(path, attr string) ([]byte, error)
- func LGetxattr(path, attr string) ([]byte, error)
- func LListxattr(path string) ([]string, error)
- func LRemovexattr(path string, attr string) (err error)
- func LSetxattr(path string, attr string, data []byte, flags int) (err error)
- func Listxattr(path string) ([]string, error)
- func Removexattr(path string, attr string) (err error)
- func Setxattr(path string, attr string, data []byte, flags int) (err error)
Constants ¶
View Source
const (
// AtSymlinkNoFollow defined from AT_SYMLINK_NOFOLLOW in /usr/include/linux/fcntl.h
AtSymlinkNofollow = 0x100
)
View Source
const ( // SYS_COPYFILERANGE defined in Kernel 4.5+ // Number defined in /usr/include/asm/unistd_64.h SYS_COPY_FILE_RANGE = 326 )
Variables ¶
This section is empty.
Functions ¶
func CopyFileRange ¶
func LListxattr ¶
LListxattr lists xattrs, not following symlinks
func LRemovexattr ¶
LRemovexattr removes an xattr, not following symlinks
func Removexattr ¶
Removexattr calls syscall removexattr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.