Registry / utility / djherbis-atime

djherbis-atime

JSON →
library1.1.0gogounverified

A platform-independent Go library for retrieving file access times.

go get github.com/djherbis/atime
INSTALL
IMPORT
SIG · DJHERBIS-ATIME
D
djherbis-atime
utilitygov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

atime
github.com/djherbis/atime

Get the access time of a file

package main import ( "fmt" "github.com/djherbis/atime" ) func main() { info, err := atime.Stat("/path/to/file") if err != nil { fmt.Println(err) } else { fmt.Println("Access time:", info.AccessTime()) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
djherbis-atime — go get djherbis-atime · libregistry