Filepath
This page contains information about the template functions related to paths:
Absolute( path: string ): string
→ Returns the absolute path of the given path, using the current path to resolve it;Dirname( path: string ): string
→ Returns the parent path of the given path, as a absolute path;Relativise( path: string, from: string ): string
→ Returns the relative path of the given path, using the from path to resolve it, if the from path is empty, then the current path is used;Basename( path: string ): string
→ Returns the file or directory name of the given path;Extension( path: string ): string
→ Returns the extension of the given file path, or empty if there is no extension, note that hidden directories under Unix return empty, as they are not files;JoinPath( paths: ...string ): string
→ Returns the joined path of concatenating all of the given path components with the current platform separator;Exists( path: string ): bool
→ Checks if the given path exists;IsFile( path: string ): bool
→ Checks if the given path exists and is a file;IsDirectory( path: string ): bool
→ Checks if the given path exists and is a directory.