Skip to content

Commit 7a961c1

Browse files
authored
Merge pull request #136 from ncw/fix-readme
Note that os.FileInfo.Sys() may return a file.FileInfo
2 parents 91bc389 + cab1990 commit 7a961c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ which do not translate to this abstraction.
8989
In particular, the `Sys()` escape hatch is queried by this library, and
9090
if your file system populates a [`syscall.Stat_t`](https://golang.org/pkg/syscall/#Stat_t)
9191
concrete struct, the ownership specified in that object will be used.
92+
You can also return a [`file.FileInfo`](https://github.com/willscott/go-nfs/blob/master/file/file.go#L5)
93+
which doesn't vary between platforms so may be easier to deal with.
9294

9395
* Relevant RFCS:
9496
[5531 - RPC protocol](https://tools.ietf.org/html/rfc5531),

0 commit comments

Comments
 (0)