io library
Storage on the local filesystem: TomLocalFileSystemStorage (atomic
commits through staged temps and a recorded intent) and
TomDirectoryBundleMedium (a keyed file medium over a directory). Imports
dart:io, so a web build cannot link it.
Classes
- TomDesktopSecretStore
-
TomSecretStore over the OS keychain for plain Dart programs (a CLI, a
background service compiled ahead of time), where
flutter_secure_storageis not available: - TomDirectoryBundleMedium
- A medium backed by a real directory on disk.
- TomLocalFileSystemStorage
- Containers on the local filesystem: a file, or a directory of files.
Enums
- TomLocalCommitStep
- The points between which a directory commit can be interrupted.
Functions
-
tomGitDirectoryClones(
String root) → TomGitCloneOpener -
Opens the bare clone of a remote under
root, creating it on first use: one directory per repository, named by host and path, in git's own layout. -
tomGitLocalRepositories(
) → TomGitLocalOpener -
Opens the repository in the folder a
git:file:locator names — a working repository, a linked worktree or a bare repository (GitLocalRepository.open) — for local git locations on a device with a file system.
Typedefs
- TomLocalCommitProbe = void Function(TomLocalCommitStep step)
- Observes TomLocalFileSystemStorage.commit; throwing from it is how a test simulates a crash at that step.