file_system library

Classes

FS
Wrapper around dart:io's FileSystemEntity class.

Extensions

DirectoryExtension on Directory
Wrapper around dart:io's Directory class.
FileExtension on File
Wrapper around dart:io's File class.
FileSystemEntityExtension on FileSystemEntity
Wrapper around dart:io's FileSystemEntity class.

Constants

kWindowsNetworkPathPrefix → const String
Network storage path have a \ prefix on Windows. For these paths, \?\ prefix does not work correctly.
kWindowsStoragePathPrefix → const String
System storage path prefix required on Windows for long file-path support. Default implementation in dart:io does not support long file-path on Windows.

Properties

kPathSeparator String
getter/setter pair

Functions

addPrefix(String path) String
Returns the file system path with the prefix added.
addTrailingSlash(String path) String
Adds a trailing slash to the path if it does not have one.
removePrefix(String path) String
Returns the file system path with the prefix removed.
removeTrailingSlash(String path) String
Removes a trailing slash from the path if it has one.