shena 0.1.1
shena: ^0.1.1 copied to clipboard
Shena filesystem storage for Dart servers with named disks, local and S3 drivers, visibility, and streaming.
Shena #
[shena — Filesystem storage for Dart servers with named disks, local and S3 drivers, visibility, and streaming.]
Shena is a standalone filesystem abstraction for Dart servers. It provides named disks, local and S3-compatible drivers, streaming reads and writes, visibility, temporary URLs, and an in-memory fake for tests.
final storage = DiskManager({
'default': 'local',
'disks': {
'local': {'driver': 'local', 'root': 'storage/app'},
},
});
await storage.disk().put('reports/q1.txt', 'ready'.codeUnits);
final bytes = await storage.disk().get('reports/q1.txt');
For Maat configuration and the Storage.disk() entry point, use
shena_maat.
Full guide: docs/filesystem.md.