testhelper

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UntarTestBag

func UntarTestBag(nameOfTarFile string) (tempDir string, bagPath string, err error)

Assumes nameOfTarFile is a file name with no path that ends in .tar. E.g. "example.edu.tagsample_good.tar" Also assumes name of untarred bag will match name of tar file, which is true for our APTrust requirements and our test data. Neither of these assumptions are safe in production. This is a convenience method for testing only.

func VbagGetPath

func VbagGetPath(fileName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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