package
0.0.0-20240428053021-e691de28565f
Repository: https://github.com/sagernet/gvisor.git
Documentation: pkg.go.dev

# Functions

DirentNames retrieves all dirents from dirfd using getdents64(2) and returns all the recorded dirent names.
ForEachDirent retrieves all dirents from dirfd using getdents64(2) and invokes handleDirent on them.
ParseDirents parses dirents from buf.
RenameAt is a convenience wrapper to make the renameat(2) syscall.
StatAt is a convenience wrapper around newfstatat(2).
Utimensat is a convenience wrapper to make the utimensat(2) syscall.

# Variables

UnixDirentMaxSize is the maximum size of unix.Dirent in bytes.

# Type aliases

DirentHandler is a function that handles a dirent.