Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadLinkFS ¶
type ReadLinkFS interface {
fs.FS
// ReadLink returns the destination of the named symbolic link.
ReadLink(name string) (string, error)
// StatLink returns a FileInfo describing the file without following any symbolic links.
StatLink(name string) (fs.FileInfo, error)
}
ReadLinkFS is the interface that a file system must implement to support the ReadLink and StatLink methods. This is an experimental implementation of the API described in: https://github.com/golang/go/issues/49580
Click to show internal directories.
Click to hide internal directories.