path_manager_platform_interface 1.0.0
path_manager_platform_interface: ^1.0.0 copied to clipboard
A common platform interface for the path_manager plugin.
1.0.0 #
- Added synchronous path contracts for temporary, application support, documents, cache, and downloads directories.
- Added
getDesktopPath(),getPicturesPath(),getMusicPath(), andgetVideosPath()with synchronous counterparts. - Added
getDiskSpace()andgetDiskSpaceSync()for querying the capacity of the volume containing a path. - Added the
DiskSpacemodel withfreeBytes,totalBytes, andusedBytes, exported from the package. - New methods provide throwing defaults so existing platform implementations remain source compatible.
0.9.0 #
- Initial release of
path_manager_platform_interface. - Defines
PlatformPathManagerextendingPlatformInterface. - Defines
StorageDirectoryenum and exceptionsMissingPlatformDirectoryExceptionandBackupExclusionConflictException.