import "github.com/jbreiding/camlistore/pkg/blobserver/local"
Package local implements functionality common to both the "localdisk" and "diskpacked" storage mechanisms.
type Generationer struct {
// contains filtered or unexported fields
}
func NewGenerationer(rootDir string) *Generationer
NewGenerationer returns a struct for implementing blobserver.Generationer
func (g Generationer) ResetStorageGeneration() error
ResetStorageGeneration reinitializes the generation by recreating the GENERATION.dat file with a new random string
StorageGeneration returns the generation's initialization time, and the random string. If the GENERATION.dat file does not exist under root yet, then creates it now (by calling ResetGeneration).
Package local imports 8 packages (graph). Updated 2018-06-25. Refresh now. Tools for package owners.