-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mkdirall: switch to os.FileMode argument
This is mostly a cosmetic change for most users, but libpathrs uses os.FileMode as well and most Go users are more used to using os.FileMode. The only thing that users need to watch out for is that they need to switch from unix.S_ISVTX to os.ModeSticky if they are using that bit (since os.FileMode and unix.S_* bits have a different layout). This will also help with building on 32-bit architectures without switching the argument type to uint32 explicitly. Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
Showing
3 changed files
with
69 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters