Documentation ¶
Index ¶
- func ExportData(path string, rootIdentifier, masterKey *memguard.LockedBuffer)
- func ImportData(path string, fileSize int64, rootIdentifier, masterKey *memguard.LockedBuffer)
- func MetaGetLength(path string, rootIdentifier, masterKey *memguard.LockedBuffer) int64
- func MetaRemoveData(rootIdentifier *memguard.LockedBuffer)
- func MetaRetrieveData(rootIdentifier, masterKey *memguard.LockedBuffer)
- func MetaSaveData(rootIdentifier, masterKey *memguard.LockedBuffer)
- func MetaSetLength(length int64, rootIdentifier, masterKey *memguard.LockedBuffer)
- func RemoveData(rootIdentifier, masterKey *memguard.LockedBuffer)
- func ViewData(rootIdentifier, masterKey *memguard.LockedBuffer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportData ¶
func ExportData(path string, rootIdentifier, masterKey *memguard.LockedBuffer)
ExportData exports data from coffer to the disk.
func ImportData ¶
func ImportData(path string, fileSize int64, rootIdentifier, masterKey *memguard.LockedBuffer)
ImportData reads a file from the disk and imports it.
func MetaGetLength ¶
func MetaGetLength(path string, rootIdentifier, masterKey *memguard.LockedBuffer) int64
MetaGetLength retrieves the length of this data and returns it.
func MetaRemoveData ¶
func MetaRemoveData(rootIdentifier *memguard.LockedBuffer)
MetaRemoveData deletes all the metadata related to an entry.
func MetaRetrieveData ¶
func MetaRetrieveData(rootIdentifier, masterKey *memguard.LockedBuffer)
MetaRetrieveData gets the metadata from the database and returns
func MetaSaveData ¶
func MetaSaveData(rootIdentifier, masterKey *memguard.LockedBuffer)
MetaSaveData saves the metadata to the database.
func MetaSetLength ¶
func MetaSetLength(length int64, rootIdentifier, masterKey *memguard.LockedBuffer)
MetaSetLength sets the length field of an entry to the supplied value.
func RemoveData ¶
func RemoveData(rootIdentifier, masterKey *memguard.LockedBuffer)
RemoveData removes data from coffer.
func ViewData ¶
func ViewData(rootIdentifier, masterKey *memguard.LockedBuffer)
ViewData grabs the data from coffer and writes it to stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.