콘텐츠로 이동

@netwiv/api/path

이 콘텐츠는 아직 번역되지 않았습니다.

Export Kind Summary
appCacheDir Function Returns the path to the suggested directory for your app’s cache files.
appConfigDir Function Returns the path to the suggested directory for your app’s config files.
appDataDir Function Returns the path to the suggested directory for your app’s data files.
appLocalDataDir Function Returns the path to the suggested directory for your app’s local data files.
appLogDir Function Returns the path to the suggested directory for your app’s log files.
audioDir Function Returns the path to the user’s audio directory.
BaseDirectory Constant Explicit desktop directory list; upstream additions are reviewed separately.
basename Function Returns the last portion of a path.
cacheDir Function Returns the path to the user’s cache directory.
configDir Function Returns the path to the user’s config directory.
dataDir Function Returns the path to the user’s data directory.
delimiter Function Returns the platform-specific path segment delimiter: - ; on Windows - : on POSIX
desktopDir Function Returns the path to the user’s desktop directory.
dirname Function Returns the parent directory of a given path.
documentDir Function Returns the path to the user’s document directory.
downloadDir Function Returns the path to the user’s download directory.
executableDir Function Returns the path to the user’s executable directory.
extname Function Returns the extension of the path.
fontDir Function Returns the path to the user’s font directory.
homeDir Function Returns the path to the user’s home directory.
isAbsolute Function Returns whether the path is absolute or not.
join Function Joins all given path segments together using the platform-specific separator as a delimiter, then normalizes the resulting path.
localDataDir Function Returns the path to the user’s local data directory.
normalize Function Normalizes the given path, resolving '..' and '.' segments and resolve symbolic links.
pictureDir Function Returns the path to the user’s picture directory.
publicDir Function Returns the path to the user’s public directory.
resolve Function Resolves a sequence of paths or path segments into an absolute path.
resolveResource Function Resolve the path to a resource file.
resourceDir Function Returns the path to the application’s resource directory.
runtimeDir Function Returns the path to the user’s runtime directory.
sep Function Returns the platform-specific path segment separator: - \ on Windows - / on POSIX
tempDir Function Returns a temporary directory.
templateDir Function Returns the path to the user’s template directory.
videoDir Function Returns the path to the user’s video directory.