atime – github.com/djherbis/atime Index | Files

package atime

import "github.com/djherbis/atime"

Package atime provides a platform-independent way to get atimes for files.

Index

Functions

func Get

func Get(fi os.FileInfo) time.Time

Get returns the Last Access Time for the given FileInfo

func Stat

func Stat(name string) (time.Time, error)

Stat returns the Last Access Time for the given filename

Source Files

atime_wasm.go stat.go

Version
v1.1.0 (latest)
Published
Apr 25, 2021
Platform
js/wasm
Imports
3 packages
Last checked
6 days ago

Tools for package owners.