data

package
v0.0.0-...-6d05200 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2017 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL