Skip to content

Commit 86c928d

Browse files
committed
Be more explicit about future changes to mode
1 parent 7b87248 commit 86c928d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNIXFS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ UnixFS currently supports two optional metadata fields:
8585
If unspecified this defaults to `0755` for directories/HAMT shards and `0644` for all other types where applicable
8686
The nine least significant bits represent `ugo-rwx`
8787
The next three least significant bits represent `setuid`, `setgid` and the `sticky bit`
88-
All others are reserved for future use
88+
All others are reserved for future use, and are subject to change - consumers **MUST** mask bits they do not expect, currently `& 07777`
8989
* `mtime` -- The modification time in seconds since the epoch. This defaults to the unix epoch if unspecified
9090

9191
### Deduplication and inlining

0 commit comments

Comments
 (0)