tom_file_system 0.2.1
tom_file_system: ^0.2.1 copied to clipboard
One file-system contract for every Tom application — atomic writes, revision-checked saves, delete to the platform's trash, links that never leave the root, values instead of dart:io objects — with an [...]
Changelog #
0.2.1 #
onWillSavedelivers its events synchronously, insidesave: a listener that changesTomWillSaveEvent.contentchanges what is saved, as the documentation said. Before, the event arrived aftersavehad compared and written the content, so a listener's change was lost.
0.2.0 #
TomFileSystemFolders:writeTextMakingFolder(write into a folder that may not exist yet),readTextIfExists(null for a missing file),ensureFolder,folderOf— what a store keeping its state in a file of its own does on every load and save.
0.1.0 #
- One file-system contract,
TomFileSystem, addressed byUriwith a root: revision-checked atomic writes,stat,readSlice,create,rename,trash, save announcements, and a watch that can be told which folders not to enter.TomMemoryFileSystemand, inio.dart,TomLocalFileSystemimplement it, the latter with per-folder watching on Linux, the freedesktop.org trash and the Windows Recycle Bin. Taken out oftom_forge_core(where the names wereForge-prefixed) before its first release; applying a multi-file workspace edit stayed in Forge.