8 releases
0.1.7 | Mar 17, 2022 |
---|---|
0.1.6 | Mar 17, 2022 |
0.1.3 | Aug 10, 2021 |
#938 in Filesystem
31KB
783 lines
Tag Based Filesystem
An implementation of a tag-based filesystem, where instead of a directory tree, all files are accessed and sorted by a set of tags.
lib.rs
:
The TBF, short for 'tag-based filesystem', is a new way of storing files.
Optimized for human recall and easy searching, tag-based storage reduces the need for complex storage trees. Instead, every file has a unique machine ID, as well as various tagged metadata, which can be used to find any set of files at any time.
The overall storage system works like this:
- Files are added to the network, and automatically assigned various metadata tags
- The user is free to add new tags, which may be part of a tag 'group'
- Alternatively, the user can use a unique ID to access a file
The system is defined as a trait, with various implementations able to use their own backing implementations. This could be an existing standard filesystem, a SQL database, or just in-memory maps.
Dependencies
~205KB