ch

package
v1.1.19 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chmod

type Chmod struct {
	Source           string
	PermCode         fs.FileMode
	PreviousPermCode fs.FileMode
	Recursive        bool
	Options          models.OperationOptions
	Result           operations.OperationResult
	RollbackResult   operations.OperationResult
}

func (*Chmod) Exec

func (c *Chmod) Exec() operations.OperationResult

func (*Chmod) Rollback

func (c *Chmod) Rollback()

type Chown

type Chown struct {
	Source         string
	UID            int
	GID            int
	PreviousUID    int
	PreviousGID    int
	Recursive      bool
	Options        models.OperationOptions
	Result         operations.OperationResult
	RollbackResult operations.OperationResult
}

func (*Chown) Exec

func (c *Chown) Exec() operations.OperationResult

func (*Chown) Rollback

func (c *Chown) Rollback()

Jump to

Keyboard shortcuts

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