trasher

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrashableStorage

type TrashableStorage interface {
	GetArtifactMeta(artifactID artifact.ID) (models.Meta, error)
	RemoveArtifact(artifactID artifact.ID) error
}

type Trasher

type Trasher struct {
	// contains filtered or unexported fields
}

func NewTrasher

func NewTrasher(log *slog.Logger, cfg config.TrasherConfig) (*Trasher, error)

func (*Trasher) Start

func (t *Trasher) Start(storage TrashableStorage, rootDir string)

func (*Trasher) Stop

func (t *Trasher) Stop()

Jump to

Keyboard shortcuts

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