feat: Add tests for LstatIfPossible

This commit is contained in:
Felicitas Pojtinger
2022-01-16 02:45:32 +01:00
parent 9ab6604b04
commit 5da7e0e96e
5 changed files with 207 additions and 5 deletions

View File

@@ -119,8 +119,11 @@ func (f *STFS) Create(name string) (afero.File, error) {
func (f *STFS) mknodeWithoutLocking(dir bool, name string, perm os.FileMode, overwrite bool, linkname string, initializing bool) error {
f.log.Trace("FileSystem.mknodeWithoutLocking", map[string]interface{}{
"name": name,
"perm": perm,
"name": name,
"perm": perm,
"overwrite": overwrite,
"linkname": linkname,
"initializing": initializing,
})
if f.readOnly {