ls

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeDirectory = "directory"
	TypeRegular   = "regular"
	TypeSymLink   = "symlink"
	TypeHardLink  = "hardlink"
	TypeNamedPipe = "namedpipe"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

type Directory struct {
	Entries []Entry `json:"entries"`
	// contains filtered or unexported fields
}

type Entry

type Entry struct {
	Name       string `json:"name"`
	Mode       string `json:"mode"`
	ModeOctal  int    `json:"mode_octal"`
	User       string `json:"user"`
	Group      string `json:"group"`
	Uid        uint32 `json:"uid"`
	Gid        uint32 `json:"gid"`
	Type       string `json:"type"`
	Size       int64  `json:"size"`
	ModifyTime int64  `json:"modify-time"`
	ModTime    time.Time
}

Jump to

Keyboard shortcuts

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