-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utility: add better Directory::map(), rename original to mapWrite().
The original one doesn't preserve file contents, so it's practically write-only. Its original intended purpose was a "swap file" on the disk and should have been named mapWrite() right from the start. The new map() is like mapRead() but with read-write access and failing when a file doesn't exist. The original map() signature is still present, but marked as deprecated.
- Loading branch information
Showing
4 changed files
with
213 additions
and
55 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
Oops, something went wrong.