Documentation
¶
Index ¶
- Constants
- func AddLevel0Cache(hash string, size uint32) error
- func AddLevel0Stage(hash string, size uint32) error
- func AddMultiToLevel1(keys, values [][]byte, objType string) error
- func AddToLevel1(key, value []byte, objType string) error
- func AddToStage(key string) error
- func ClearStage() error
- func CommitIsParent(key []byte) (bool, error)
- func GetLevel0CacheSize() (uint64, error)
- func GetLevel0RandomListFromCache() ([]string, error)
- func GetLevel0StageSize() (uint64, error)
- func GetLevel1(key []byte) ([]byte, string, error)
- func GetLevel1BlobsStats() (uint64, error)
- func ListLevel1Blobs(query string) (<-chan []byte, error)
- func ListLevel1Commits(query string) (<-chan []byte, error)
- func ListLevel1Prefixes() (<-chan []byte, error)
- func ListLevel1Snapshots() (<-chan []byte, error)
- func ListLevel1Trees() (<-chan []byte, error)
- func ListStage() (<-chan []byte, error)
- func ListTopMostCommits() (<-chan []byte, error)
- func MarkCommitAsParent(key string) error
- func MoveLevel0FromStageToCache(hash string) error
- func OpenDatabase() error
- func RemoveLevel0FromCache(hash string) error
Constants ¶
View Source
const BLOB = "blob"
View Source
const COMMIT = "commit"
View Source
const PREFIX = "prefix"
View Source
const SNAPSHOT = "snapshot"
View Source
const TREE = "tree"
Variables ¶
This section is empty.
Functions ¶
func AddLevel0Cache ¶
func AddLevel0Stage ¶
func AddMultiToLevel1 ¶
func AddToLevel1 ¶
func AddToStage ¶
func ClearStage ¶
func ClearStage() error
func CommitIsParent ¶
func GetLevel0CacheSize ¶
func GetLevel0StageSize ¶
func GetLevel1BlobsStats ¶
func ListLevel1Blobs ¶
func ListLevel1Commits ¶
func ListLevel1Prefixes ¶
func ListLevel1Snapshots ¶
func ListLevel1Trees ¶
func ListTopMostCommits ¶
func MarkCommitAsParent ¶
func OpenDatabase ¶
func OpenDatabase() error
func RemoveLevel0FromCache ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.