imgutil

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectFormat

func DetectFormat(f string) (string, error)

Types

type Info

type Info struct {
	Format string `json:"format,omitempty"` // since QEMU 1.3
}

Info corresponds to the output of `qemu-img info --output=json FILE`

func GetInfo

func GetInfo(f string) (*Info, error)

Jump to

Keyboard shortcuts

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