Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(connectionString string, transaction bool) (*Connection, error)
type LockReleaseHandler ¶
type LockReleaseHandler func()
type Metadata ¶
type Metadata interface { Get(folderPaths []string) ([]*common.Folder, error) ChildrenTree(folderPath string, includeItself bool, reverseSort bool) ([]*common.Folder, error) ParentTree(folderPath string, includeItself bool, reverseSort bool) ([]*common.Folder, error) SaveBlock(folderPaths []string, saveHandler func(folders map[string]*common.Folder) (bool, error)) error SaveChain(folderPath string, saveHandler func(folder *common.Folder) (bool, error)) error }
func NewMetadata ¶
func NewMetadata(mutex mutex.LockingCenter, conn *Connection, database string) (Metadata, error)
Click to show internal directories.
Click to hide internal directories.