Documentation ¶ Index ¶ func RecalculateMetadata(ctx context.Context, storage string) error func WritePackageMeta(ctx context.Context, l *zap.Logger, p string) type Spec func ParseSpec(content []byte) (*Spec, error) func ReadSpecFromTar(file string) (*Spec, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RecalculateMetadata ¶ func RecalculateMetadata(ctx context.Context, storage string) error func WritePackageMeta ¶ func WritePackageMeta(ctx context.Context, l *zap.Logger, p string) Types ¶ type Spec ¶ type Spec struct { Name string Version string Raw map[string]any } func ParseSpec ¶ func ParseSpec(content []byte) (*Spec, error) func ReadSpecFromTar ¶ func ReadSpecFromTar(file string) (*Spec, error) Source Files ¶ View all Source files metadata.gopub.go Click to show internal directories. Click to hide internal directories.