stat

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SameFile

func SameFile(st1, st2 *FileStat) bool

SameFile reports whether st1 and st2 represents the same file

Types

type FileStat

type FileStat struct {
	Sys syscall.Stat_t
}

FileStat is a os specific file stat

func Stat

func Stat(file *os.File) (*FileStat, error)

Stat returns the named FileStat

Jump to

Keyboard shortcuts

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