mount: use os instead of fs package

This commit is contained in:
Michael Eischer
2024-07-21 15:56:03 +02:00
parent 24f4e780f1
commit 65a7157383
2 changed files with 1 additions and 8 deletions

View File

@@ -60,12 +60,6 @@ func Link(oldname, newname string) error {
return os.Link(fixpath(oldname), fixpath(newname))
}
// Stat returns a FileInfo structure describing the named file.
// If there is an error, it will be of type *PathError.
func Stat(name string) (os.FileInfo, error) {
return os.Stat(fixpath(name))
}
// Lstat returns the FileInfo structure 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.