Array of paths where files of type belong including one returned by writablePath, or an empty array if no paths are defined for 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 not cache its results. It may cause performance impact to call this function often since retrieving some paths can be relatively expensive operation.
string[] templateDirs = standardPaths(StandardPath.templates); //List all available file templates including system defined and user created ones.
Get paths for various locations.