package os2
import "zgo.at/elles/os2"
Index ¶
- func Atime(fi fs.FileInfo) time.Time
- func Blocks(fi fs.FileInfo) int64
- func Blocksize(path string) int
- func Btime(absdir string, fi fs.FileInfo) time.Time
- func Hidden(absdir string, fi fs.DirEntry) bool
- func IsDoor(fi fs.FileInfo) bool
- func IsELOOP(err error) bool
- func Mkfifo(path string, mode uint32) error
- func Mknod(path string, mode uint32, dev int) error
- func Numlinks(absdir string, fi fs.FileInfo) uint64
- func OwnerID(absdir string, fi fs.FileInfo) (string, string)
- func ReadDir(name string) ([]os.DirEntry, error)
- func Serial(absdir string, fi fs.FileInfo) uint64
- func Utimes(path string, atime, mtime time.Time) error
Functions ¶
func Atime ¶
func Blocks ¶
func Blocksize ¶
Get the block size for the filesystem on which path resides.
func Btime ¶
func Hidden ¶
func IsDoor ¶
func IsELOOP ¶
func Mkfifo ¶
func Mknod ¶
func Numlinks ¶
TODO: unused at the moment; ls -l prints this, but I don't think I've ever used it in 25 years. Should maybe add option though.
func OwnerID ¶
func ReadDir ¶
Like os.ReadDir, but without the sort.
func Serial ¶
func Utimes ¶
Source Files ¶
door_other.go fifo_unix.go hidden_other.go os2.go statfs_unix.go time_bsd.go utime_unix.go vfs_unix.go
- Version
- v0.3.0 (latest)
- Published
- Mar 17, 2025
- Platform
- darwin/amd64
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.