standardPaths

Get paths for various locations.

Return Value

Type: string[]

Array of paths where files of $(U type) belong including one returned by writablePath, or an empty array if no paths are defined for $(U type). This function does not ensure if all returned paths exist and appear to be accessible directories. Returned strings are not required to be unique. Note: This function does cache its results. It may cause performance impact to call this function often since retrieving some paths can be relatively expensive operation.

Examples

string[] templateDirs = standardPaths(StandardPath.templates);
//List all available file templates including system defined and user created ones.

See Also

Meta