Skip to content

milahu/cas-filesystem-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

cas-filesystem-spec

/cas/{hashtype}/{hash}/{filename}

a filesystem specification for a generic Content Addressed Storage

spec

cas directories

the cas filesystem consists of multiple cas directories

/cas
/home/someuser/cas
/tmp/cas
/media/somelabel/cas
/run/media/someuser/somelabel/cas
/mnt/somemointpoint/cas
C:/cas
D:/cas

hashtype directories

each of these cas directories has multiple subdirectories, representing different hash types. we call them "hashtype directories"

/cas/md5
/cas/sha1
/cas/btih
/cas/git
/cas/sha256
/cas/size
/cas/todo

exception: size is the file size in bytes

exception: todo is a directory for files with unknown hash, but the hash will be known in the future, so the files can be moved to other hashtype-directories

related

About

/cas/{hashtype}/{hash}/{filename}

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages