Filesystem root entry / bookmark types
Returns application data directory
Appends file path parts with proper delimiters e.g. appendPath("/home/user", ".myapp", "config") => "/home/user/.myapp/config"
Appends file path parts with proper delimiters (as well converts delimiters inside path to system) to buffer e.g. appendPath("/home/user", ".myapp", "config") => "/home/user/.myapp/config"
Converts path delimiters to standard for platform inplace in buffer(e.g. / to \ on windows, \ to / on posix), returns buf
Converts path delimiters to standard for platform (e.g. / to \ on windows, \ to / on posix)
check filename with pattern (currently only *.ext pattern is supported)
Filters file name by pattern list
Returns true if char ch is / or \ slash
returns true if directory is root directory (e.g. / or C:\)
List directory content
returns parent directory for specified path
Split path into elements, e.g. /home/user/dir1 -> ["home", "user", "dir1"], "c:\dir1\dir2" -> ["c:", "dir1", "dir2"]
Returns current directory
Returns current executable path only, including last path delimiter - removes executable name from result of std.file.thisExePath()
returns array of system root entries
Returns
Returns user's home directory
Filesystem root entry item
path delimiter (\ for windows, / for others)
path delimiter (\ for windows, / for others)
Synopsis:
import exlib.files;
Boost License 1.0
Vadim Lopatin, 2014
This module contains cross-platform file access utilities