Versions in this module Expand all Collapse all v1 v1.118.1 Oct 7, 2026 v1.118.0 Oct 7, 2026 Changes in this version + const DefinitionFile + const MaxPackageSize + var ErrNotSkill = errors.New("the folder holds no " + DefinitionFile) + func BaseDir(text string) (string, bool) + func ContentDigest(src string) (string, error) + func HasBaseDir(text []byte) bool + func MarkChanged(dst string) error + func ParseDir(s string) (string, bool) + func Source(name, dir string, roots Roots) string + func Within(path, root string) bool + type Info struct + Changed bool + Digest string + SkippedLinks int + Truncated bool + func Copy(src, dst string) (Info, error) + func Load(dst string) (Info, error) + type Package struct + Archive []byte + Definition []byte + Oversize bool + func MakePackage(dst string, redact Redactor) (Package, error) + type Redactor func(doc []byte) ([]byte, error) + type Roots struct + Organization []string + Plugin []string + Project []string + User []string