Next in Review Queue: The New std.path
David Nadlinger
see at klickverbot.at
Mon Jul 18 07:02:24 PDT 2011
On 7/18/11 3:55 PM, Steven Schveighoffer wrote:
> In other words, expand more than just the tilde.
>
> My thoughts are, if we try and take a stab at making something
> intelligently decide where to store files, people will appreciate it
> more than having to search the web for a right answer to something that
> doesn't have one.
Just a quick idea: Maybe we could provide a set of standard directories
(e.g. UserData.config, UserData.cache, …) along with a function which
maps them to the the operating system defaults, i.e. the well-known
directories on Windows, the $XDG_*_HOME ones on Linux, etc.
David
More information about the Digitalmars-d
mailing list