Versions in this module Expand all Collapse all v0 v0.3.2 Aug 19, 2026 v0.3.1 Aug 12, 2026 v0.3.0 Aug 12, 2026 Changes in this version + const SubjectType + var DefaultOptions = Options + type Filesystem struct + FS fs.FS + func (f *Filesystem) DecomposableType() string + func (f *Filesystem) FileSystem() (fs.FS, error) + type LocalSystem struct + Root string + func (l *LocalSystem) DecomposableType() string + func (l *LocalSystem) FileSystem() (fs.FS, error) + type Options struct + IncludeFiles bool + type System interface + FileSystem func() (fs.FS, error) + type SystemDecomposer interface + ExtractFromFS func(source fs.FS, opts *api.DecomposerOptions) (*sbom.NodeList, error) + type Unpacker struct + Options Options + func NewUnpacker() *Unpacker + func (u *Unpacker) Extract(_ context.Context, subject api.DecomposableSubject) ([]*sbom.NodeList, error) + func (u *Unpacker) RegisterDecomposer(d api.Decomposer) + func (u *Unpacker) UnregisterDecomposer(d api.Decomposer)