Documentation
¶
Index ¶
- Constants
- func DirBlobStore(layout BlobStore, targets ...string) string
- func GetBlobStoreConfigPaths(ctx interfaces.ActiveContext, directoryLayout BlobStore) []string
- func MakeBlobStorePath(id blob_store_id.Id, base, config string) blobStorePath
- func PathBlobStore(layout BlobStore, targets ...string) interfaces.DirectoryLayoutPath
- type BlobStore
- type BlobStorePath
- type Common
- type Mutable
- type Repo
- type RepoMutable
- type XDG
Constants ¶
View Source
const FileNameBlobStoreConfig = "dodder-blob_store-config"
Variables ¶
This section is empty.
Functions ¶
func GetBlobStoreConfigPaths ¶
func GetBlobStoreConfigPaths( ctx interfaces.ActiveContext, directoryLayout BlobStore, ) []string
func MakeBlobStorePath ¶
func MakeBlobStorePath(id blob_store_id.Id, base, config string) blobStorePath
func PathBlobStore ¶
func PathBlobStore( layout BlobStore, targets ...string, ) interfaces.DirectoryLayoutPath
Types ¶
type BlobStore ¶
type BlobStore interface {
Common
MakePathBlobStore(...string) interfaces.DirectoryLayoutPath
}
func CloneBlobStoreWithXDG ¶
type BlobStorePath ¶
type BlobStorePath interface {
GetBase() string
GetConfig() string
GetId() blob_store_id.Id
}
func GetBlobStorePath ¶
func GetBlobStorePath( directoryLayout BlobStore, idString string, ) BlobStorePath
func GetBlobStorePathForCustomPath ¶
func GetBlobStorePathForCustomPath( idString, basePath string, configPath string, ) BlobStorePath
func GetDefaultBlobStore ¶
func GetDefaultBlobStore( directoryLayout BlobStore, ) BlobStorePath
type Common ¶
type Common interface {
blob_store_id.LocationTypeGetter
// contains filtered or unexported methods
}
type Repo ¶
type Repo interface {
MakeDirData(p ...string) interfaces.DirectoryLayoutPath
DirDataIndex(p ...string) string
DirCacheRemoteInventoryListsLog() string
DirIndexObjectPointers() string
DirIndexObjects() string
DirCacheRepo(p ...string) string
DirLostAndFound() string
DirObjectId() string
FileCacheDormant() string
FileCacheObjectId() string
FileConfig() string
FileLock() string
FileTags() string
FileInventoryListLog() string
DirsGenesis() []string
}
Source Files
¶
- blob_store_path.go
- main.go
- util.go
- util_private.go
- v3.go
Click to show internal directories.
Click to hide internal directories.