disktag

package
v0.0.0-...-b79a0d8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package disktag encodes and decodes disktags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() string

func ImgToDTag

func ImgToDTag(img string) (dtag string)

convert image prefix (w/o .upd) to disktag prefix

func Platform

func Platform(root string) (plat string)

read disktag, return 3rd component (platform) or empty string

func Read

func Read(root string) string

read disktag from disk

func Set

func Set(t string)

func SetPlatform

func SetPlatform(plat string)

func Write

func Write(root string)

write disktag

Types

This section is empty.

Jump to

Keyboard shortcuts

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