mount

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mount provides the mount command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	MountPoint     string `json:"mount_point" binding:"required"`
	DmgPath        string `json:"dmg_path,omitempty"` // FIXME: required on linux
	AlreadyMounted bool   `json:"already_mounted,omitempty"`
}

Context is the mount context

func DmgInIPSW

func DmgInIPSW(path, typ string) (*Context, error)

DmgInIPSW will mount a DMG from an IPSW

func (Context) Unmount

func (c Context) Unmount() error

Unmount will unmount a DMG and remove the DMG source file

Jump to

Keyboard shortcuts

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