disk

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesktopFileHandler

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

func NewDesktopFileHandler

func NewDesktopFileHandler(path string) *DesktopFileHandler

func (*DesktopFileHandler) Close

func (h *DesktopFileHandler) Close() error

func (*DesktopFileHandler) DeleteFile

func (h *DesktopFileHandler) DeleteFile() error

func (*DesktopFileHandler) File

func (h *DesktopFileHandler) File() *os.File

func (*DesktopFileHandler) Path

func (h *DesktopFileHandler) Path() string

type FileHandler

type FileHandler interface {
	File() *os.File
	Path() string
	Close() error
	DeleteFile() error
}

Jump to

Keyboard shortcuts

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