item

package
v0.0.0-...-6871db2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnixTime

func UnixTime(t time.Time) int64

Types

type Item

type Item struct {
	Path      string
	File      *os.File
	Info      fs.FileInfo
	Mode      fs.FileMode
	Size      int64
	Time      int64
	Dev       uint64
	Ino       uint64
	Nlink     uint64
	Priority  uint
	IsSymlink bool
}

func Open

func Open(path string) *Item

func (*Item) Close

func (item *Item) Close()

Jump to

Keyboard shortcuts

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