sf

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = "n/a"
View Source
var Version = "v0.2.0"

Functions

func GetVersion

func GetVersion() gnvers.Version

GetVersion returns BHLnames version and build information.

Types

type FromConvertor

type FromConvertor interface {
	// Import takes a source file (either a local path or a URL) and an output
	// (a local path). It transforms the source data into the
	// Species File Group Archive (SFGA) format and saves the results in the
	// output directory. The output directory will contain files with '.sql'
	// extension for SQL dump and '.sqlite' extension for a SQLite binary
	// database.  If compression is opted in, these files will be further
	// compressed into '.zip' archives.
	// It returns an error if some part of the process fails.
	Import(src, output string) error
}

FromConvertor provides methods for converting a file in a supported format to Species File Group Archive format.

Jump to

Keyboard shortcuts

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