Skip to content

Commit

Permalink
Remove osVFS methods documentation
Browse files Browse the repository at this point in the history
These methods are not public, and their docstrings are copies of
those from the VFS interface methods.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin authored and cyphar committed Sep 30, 2024
1 parent 208ded3 commit daead99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ type VFS interface {
// module.
type osVFS struct{}

// Lstat returns a FileInfo describing the named file. If the file is a
// symbolic link, the returned FileInfo describes the symbolic link. Lstat
// makes no attempt to follow the link. These semantics are identical to
// os.Lstat.
func (o osVFS) Lstat(name string) (os.FileInfo, error) { return os.Lstat(name) }

// Readlink returns the destination of the named symbolic link. These
// semantics are identical to os.Readlink.
func (o osVFS) Readlink(name string) (string, error) { return os.Readlink(name) }

0 comments on commit daead99

Please sign in to comment.