path_manager 1.0.0
path_manager: ^1.0.0 copied to clipboard
Plugin for getting commonly used locations on host file system via FFI
1.0.0 #
- Application support and cache directories are now scoped per application on macOS, Linux, and Windows.
- Added synchronous directory getters for temporary, application support, documents, cache, and downloads directories.
- Added
getDesktopDirectory(),getPicturesDirectory(),getMusicDirectory(), andgetVideosDirectory()with synchronous counterparts. - Added
getDiskSpace()andgetDiskSpaceSync(), reporting the free and total capacity of the volume containing a path, in bytes. Failures throwFileSystemException. - Added
getApplicationCacheSize()(returns bytes),clearApplicationCache(), andformatBytes().clearApplicationCache()deletes and recreates the application cache directory, whilegetApplicationCacheSize()measures only that directory. - Added
getApplicationSupportSubdirectory(),getApplicationCacheSubdirectory(), andgetApplicationDocumentsSubdirectory()with hardened path validation. - Added
pathas a direct dependency for subdirectory normalization.
0.9.0 #
- Converted to federated plugin architecture.
- Added Linux desktop support via
path_manager_linux(XDG Base Directory specification). - Added Windows desktop support via
path_manager_windows(Win32 Known Folders). - Endorsed
path_manager_android,path_manager_foundation,path_manager_linux, andpath_manager_windows.