filecmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandAdopt  output.Command = "adopt"
	CommandEject  output.Command = "eject"
	CommandStatus output.Command = "status"
)

Variables

This section is empty.

Functions

func Adopt

func Adopt(req AdoptRequest) output.Outcome

func Eject

func Eject(req EjectRequest) output.Outcome

func Status

func Status(req StatusRequest) output.Outcome

Types

type AdoptRequest

type AdoptRequest struct {
	File     string
	Ref      string
	SourceID string
	Context  string
	Apply    bool
	Copy     bool
	Mode     string
	SetMode  bool
}

type EjectRequest

type EjectRequest struct {
	File     string
	SourceID string
	Context  string
	Apply    bool
}

type StatusRequest

type StatusRequest struct {
	File     string
	SourceID string
	Context  string
}

Jump to

Keyboard shortcuts

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