safeloopback

package
v0.0.0-...-59ce246 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package that assists with attach and detaching a loopback device cleanly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loopback

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

func NewLoopback

func NewLoopback(diskFilePath string) (*Loopback, error)

func (*Loopback) CleanClose

func (l *Loopback) CleanClose() error

func (*Loopback) Close

func (l *Loopback) Close()

func (*Loopback) DevicePath

func (l *Loopback) DevicePath() string

func (*Loopback) DiskFilePath

func (l *Loopback) DiskFilePath() string

Jump to

Keyboard shortcuts

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