Skip to content

Commit 930976e

Browse files
committed
osfs: Add comment on file type
1 parent c926618 commit 930976e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

osfs/os.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func New(baseDir string) billy.Filesystem {
2323
return chroot.New(&OS{}, baseDir)
2424
}
2525

26+
// file is a wrapper for an os.File which adds support for file locking.
2627
type file struct {
2728
*os.File
2829
}

0 commit comments

Comments
 (0)