localstorage

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package localstorage provides local file system storage implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalStorage

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

LocalStorage implements storage interface for local file system.

func NewLocalStorage

func NewLocalStorage(dirpath string) *LocalStorage

NewLocalStorage creates a new LocalStorage instance.

func (*LocalStorage) SaveFile

func (s *LocalStorage) SaveFile(_ context.Context, archiveFilePath string, dstFilename string) error

SaveFile saves the file in localstorage.

Jump to

Keyboard shortcuts

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