github.com/reiver/go-digestfs (go): Package digestfs provides a content-addressable virtual file system (VFS) by providing a common interface to one or more content-addressable storage (CAS).  Here is an example of how to use an already mounted digestfs.MountPoint to get content:  Note that if you had the digest encoded as hexadecimal, then you could decode it into binary using: As in:  Here, ‘content’ would give you access to the data on the content mostly via an io.ReaderAt interface. For example:  Alternatively, if you want to use the io.Reader interface, you can upgrade ‘content’ from an io.ReaderAt to an io.Reader by using an io.SectionReader. For example:  How you create a digestfs.MountPoint depends on which MountPoint you use.  But mounting looks something like:  Some content-addressable storages (CAS) that can be used with digestfs include:  • https://godoc.org/github.com/reiver/go-memdigest
Keywords: content-addressable-file-system|content-addressable-storage|content-addressing|vfs|virtual-file-system