3 ms·
If you're still using string types for pathnames you may want to check out the path and path-io packages. The path package defines a Path type parameterized by
by koloron 10y ago
If you're still using string types for pathnames you may want to check out the path and path-io packages. The path package defines a Path type parameterized by its locality (absolute or relative) and type (pointing at a file or a directory).
Especially the distinction between relative and absolute paths adds a nice safety layer.