shena 0.1.0 copy "shena: ^0.1.0" to clipboard
shena: ^0.1.0 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.

0
likes
150
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shena filesystem storage for Dart servers with named disks, local and S3 drivers, visibility, and streaming.

Repository (GitHub)

License

MIT (license)

Dependencies

minio, path

More

Packages that depend on shena