fsutil

package
v0.0.0-...-e79d78f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lstat

func Lstat(fsys fs.FS, name string) (fs.FileInfo, error)
func ReadLink(fsys fs.FS, name string) (string, error)

Types

type Device

type Device interface {
	Major() uint64
	Minor() uint64
}

type DeviceFileInfo

type DeviceFileInfo interface {
	fs.FileInfo
	Device() (Device, error)
}

type SymlinkFS

type SymlinkFS interface {
	fs.FS
	ReadLink(name string) (string, error)
	Lstat(name string) (fs.FileInfo, error)
}

Copied from Go 1.23

Jump to

Keyboard shortcuts

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