model

package
v0.0.0-...-13d9b3d Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetOwnerFormat

func SetOwnerFormat(maxUser, maxGroup, maxUid, maxGid int)

SetOwnerFormat allows to increase the format spacing by providing the corresponding parameters.

Types

type Diff

type Diff struct {
	Source File
	Target File
}

type File

type File struct {
	Path string
	Mode fs.FileMode
	Owner
}

func (File) OwnerString

func (f File) OwnerString() string

func (File) Perm

func (f File) Perm() os.FileMode

func (File) PermString

func (f File) PermString() string

type Owner

type Owner struct {
	Username  string
	Groupname string
	Uid       int
	Gid       int
}

Jump to

Keyboard shortcuts

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