3 ms·
I don't mind dot files or dot folders, but I'm very open to better ideas. My app works on Mac, Linux, and Windows though. Any thoughts?
by tomcam 4y ago
I don't mind dot files or dot folders, but I'm very open to better ideas. My app works on Mac, Linux, and Windows though. Any thoughts?
- ElectricalUnion 4y agoThere are several libraries that handle directory for you in the appropriate OS-specific manner. One Rust example being https://github.com/dirs-dev/dirs-rs https://github.com/dirs-dev/dirs-rs > The library provides the location of these directories by leveraging the mechanisms defined by > the XDG base directory and the XDG user directory specifications on Linux and Redox > the Known Folder API on Windows > the Standard Directories guidelines on macOS