A pluggable, mockable file system abstraction for Dart. Supports local file system access, as well as in-memory file systems, record-replay file systems, and chroot file systems.
Package selection guidance compiled from public package information, community data, and project usage.
The file package provides a flexible, pluggable abstraction for file system operations in Dart, enabling seamless access to local files and supporting alternative file systems such as in-memory, record-replay, and chroot environments. It promotes testability through mockable interfaces and ensures consistent behavior across platforms. Designed for developers needing robust file handling with extensibility and isolation, it simplifies testing and deployment scenarios.
Use cases
Testing file operations in isolation
Building cross-platform file utilities
Simulating file system behavior in tests
Implementing sandboxed environments
Managing temporary or in-memory files
Key features
Pluggable file system architecture
Mockable and testable interfaces
Support for in-memory and chroot file systems
Cross-platform compatibility
Record-replay functionality for debugging
Suitable for
Dart applications requiring file system abstraction
Test-driven development with file I/O
Tools and CLI apps with complex file interactions
Sandboxed or secure execution environments
Considerations
Requires understanding of file system abstractions
May introduce overhead for simple file operations
Not intended for direct use in production UI logic
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.