backend

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

Functions

func IsUnknownBackendError

func IsUnknownBackendError(err error) bool

Types

type DiskBackend

type DiskBackend interface {
	FullPath() string
	BaseName() string
	QdevID() string
	Size() (uint64, error)
	IsLocal() bool
	IsAvailable() (bool, error)

	Copy() DiskBackend
}

type UnknownBackendError

type UnknownBackendError struct {
	Path string
}

func (*UnknownBackendError) Error

func (e *UnknownBackendError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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