The OpenD Programming Language

standardPaths

Evaluate paths for various locations and append subfolder.

  1. string[] standardPaths(StandardPath type)
  2. string[] standardPaths(StandardPath type, string subfolder)
    nothrow @safe
    string[]
    standardPaths

Examples

enum organizationName = "MyLittleCompany";
enum applicationName = "MyLittleApplication";

string[] appDataDirs = standardPaths(StandardPath.data, buildPath(organizationName, applicationName));
//Gather data files for this application from each found directory.

Meta