vaultsys

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package vaultsys implements handle-relative operations used by offline vaults.

Index

Constants

View Source
const (
	O_RDONLY            = unix.O_RDONLY
	O_WRONLY            = unix.O_WRONLY
	O_RDWR              = unix.O_RDWR
	O_CREAT             = unix.O_CREAT
	O_EXCL              = unix.O_EXCL
	O_CLOEXEC           = unix.O_CLOEXEC
	O_DIRECTORY         = unix.O_DIRECTORY
	O_NOFOLLOW          = unix.O_NOFOLLOW
	O_NONBLOCK          = unix.O_NONBLOCK
	S_IFREG             = unix.S_IFREG
	S_IFDIR             = unix.S_IFDIR
	S_ISVTX             = unix.S_ISVTX
	AT_REMOVEDIR        = unix.AT_REMOVEDIR
	AT_SYMLINK_NOFOLLOW = unix.AT_SYMLINK_NOFOLLOW
	LOCK_EX             = unix.LOCK_EX
	LOCK_SH             = unix.LOCK_SH
	LOCK_NB             = unix.LOCK_NB
	LOCK_UN             = unix.LOCK_UN
	EAGAIN              = unix.EAGAIN
	EEXIST              = unix.EEXIST
	EINVAL              = unix.EINVAL
	ELOOP               = unix.ELOOP
	ENOSYS              = unix.ENOSYS
	ENOTDIR             = unix.ENOTDIR
	EOPNOTSUPP          = unix.EOPNOTSUPP
	EWOULDBLOCK         = unix.EWOULDBLOCK
)

Variables

This section is empty.

Functions

func Flock

func Flock(fd, flags int) error

func Fstat

func Fstat(fd int, st *Stat_t) error

func Fstatat

func Fstatat(fd int, name string, st *Stat_t, flags int) error

func Mkdirat

func Mkdirat(fd int, name string, mode uint32) error

func Openat

func Openat(fd int, name string, flags int, mode uint32) (int, error)

func SyncFile

func SyncFile(file *os.File) error

func SyncKeyFile

func SyncKeyFile(file *os.File) error

func Unlinkat

func Unlinkat(fd int, name string, flags int) error

Types

type Stat_t

type Stat_t = unix.Stat_t

Jump to

Keyboard shortcuts

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