Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "bag-create"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func (*Activity) Execute ¶
Execute creates a BagIt Bag containing the files at SourcePath.
If BagPath is set in the parameters, then the Bag will be created at BagPath. If BagPath is empty, then the Bag will be created at SourcePath, replacing the original directory contents. In either case the path of the Bag is returned.
type Config ¶
type Config struct { // ChecksumAlgorithm specifies the hashing algorithm used to generate file // checksums. Valid values are "md5", "sha1", "sha256", "sha512" (default) ChecksumAlgorithm string }
Click to show internal directories.
Click to hide internal directories.