backend

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 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 {
	BaseName() string
	QdevID() string
	Size() (uint64, error)
	IsLocal() bool
	IsAvailable() (bool, error)
}

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