file_system library
This file is a part of safe_local_storage (https://github.com/alexmercerind/safe_local_storage).
Copyright (c) 2022, Hitesh Kumar Saini saini123hitesh@gmail.com. All rights reserved. Use of this source code is governed by MIT license that can be found in the LICENSE file.
Classes
- FS
-
Wrapper around
dart:io
's FileSystemEntity class.
Extensions
Constants
- kWin32LocalPathPrefix → const String
-
Local storage File or Directory path prefix required on Windows for long file path support.
Default implementation in
dart:io
does not support long file paths on Windows. Reference: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry - kWin32NetworkPathPrefix → const String
-
Network storage Files & Directorys path have a
\\
prefix on Windows. For these paths,\\?\
prefix is not supported.
Properties
-
locks
→ Map<
String, Lock> -
Map for storing various instances of
Lock
to ensure mutual exclusion in FileExtension.read_ & FileExtension.write_.final