Documentation ¶
Overview ¶
Package fslink is an implementation of the proposal to add a fs.ReadLinkFS interface: https://github.com/golang/go/issues/49580
This package is intended to be deprecated once #49580 is merged.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lstat ¶ added in v0.1.3
Lstat is like fs.Stat but if the name is a symbolic link, it returns information about the link instead of the target file.
At this time, the implementation emulates the behavior by scanning the parent directory looking for an entry with a matching name since this is the only way to get file information of a symbolic link using a fs.FS file system.
Types ¶
Click to show internal directories.
Click to hide internal directories.