Skip to content

Commit

Permalink
Merge pull request #136 from ncw/fix-readme
Browse files Browse the repository at this point in the history
Note that os.FileInfo.Sys() may return a file.FileInfo
  • Loading branch information
willscott authored Aug 26, 2024
2 parents 91bc389 + cab1990 commit 7a961c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ which do not translate to this abstraction.
In particular, the `Sys()` escape hatch is queried by this library, and
if your file system populates a [`syscall.Stat_t`](https://golang.org/pkg/syscall/#Stat_t)
concrete struct, the ownership specified in that object will be used.
You can also return a [`file.FileInfo`](https://github.com/willscott/go-nfs/blob/master/file/file.go#L5)
which doesn't vary between platforms so may be easier to deal with.

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

0 comments on commit 7a961c1

Please # to comment.