osbased

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Newline      = "\n"
	OtherNewline = "\r\n"
)

Variables

This section is empty.

Functions

func AccessTime

func AccessTime(a os.FileInfo) time.Time

func BirthTime

func BirthTime(a os.FileInfo) time.Time

func BlockSize

func BlockSize(info os.FileInfo) int64

func CheckFlags added in v0.29.0

func CheckFlags(_ *item.FileInfo) []string

func CreateTime

func CreateTime(a os.FileInfo) time.Time

func Group

func Group(a os.FileInfo) string

func GroupID

func GroupID(a os.FileInfo) string

func Inode

func Inode(info os.FileInfo) string

func IsMacOSAlias added in v0.29.2

func IsMacOSAlias(_ string) bool

always false on Linux

func LinkCount

func LinkCount(info os.FileInfo) uint64

func ModTime

func ModTime(a os.FileInfo) time.Time

func Owner

func Owner(a os.FileInfo) string

func OwnerID

func OwnerID(a os.FileInfo) string

func ResolveAlias added in v0.29.2

func ResolveAlias(_ string) (string, error)

ResolveAlias is a no-op on Linux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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