catalog

package
v0.0.0-...-8e63a93 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogEntry

type CatalogEntry struct {
	// contains filtered or unexported fields
}

func CreateOrUpdateEntry

func CreateOrUpdateEntry(sub *submissions.Submission, subDir, catDir string) (*CatalogEntry, error)

func (*CatalogEntry) Analyze

func (cat *CatalogEntry) Analyze(catDir string) error

func (*CatalogEntry) EntryDir

func (cat *CatalogEntry) EntryDir(catalogRoot string) string

func (*CatalogEntry) Lock

func (cat *CatalogEntry) Lock(catDir string) error

func (*CatalogEntry) Name

func (cat *CatalogEntry) Name() string

func (*CatalogEntry) Register

func (cat *CatalogEntry) Register(Db *sql.DB) error

Save a catalog entry to the catalog database

func (*CatalogEntry) SamplePath

func (cat *CatalogEntry) SamplePath(catalogRoot string) string

func (*CatalogEntry) Save

func (cat *CatalogEntry) Save(catDir string) error

Save a catalog entry to the catalog directory

func (*CatalogEntry) Unlock

func (cat *CatalogEntry) Unlock(catDir string) error

Jump to

Keyboard shortcuts

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