Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created October 26, 2014 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchristian/f6a41314be966b957193 to your computer and use it in GitHub Desktop.
Save wchristian/f6a41314be966b957193 to your computer and use it in GitHub Desktop.
quoting myself from elsewhere on paths
(Mithaldu) first off, you need to differentiate between paths in your program, and objects representing actual file system objects on your machine
(Mithaldu) and then you have code portable between machines, so both classes need to carry around attributes marking which OS the path is for
(Mithaldu) and then you can have volumes with different file systems mounted to the same machine
(Mithaldu) and then you can have different configurations for the same file system type
(Mithaldu) and nothing gets all of these right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment