You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
poornas a3e806ed61 Add disk based edge caching support. (#5182) 7 years ago
..
LICENSE Add disk based edge caching support. (#5182) 7 years ago
README.md Add disk based edge caching support. (#5182) 7 years ago
atime_darwin.go Add disk based edge caching support. (#5182) 7 years ago
atime_dragonfly.go Add disk based edge caching support. (#5182) 7 years ago
atime_freebsd.go Add disk based edge caching support. (#5182) 7 years ago
atime_linux.go Add disk based edge caching support. (#5182) 7 years ago
atime_nacl.go Add disk based edge caching support. (#5182) 7 years ago
atime_netbsd.go Add disk based edge caching support. (#5182) 7 years ago
atime_openbsd.go Add disk based edge caching support. (#5182) 7 years ago
atime_plan9.go Add disk based edge caching support. (#5182) 7 years ago
atime_solaris.go Add disk based edge caching support. (#5182) 7 years ago
atime_windows.go Add disk based edge caching support. (#5182) 7 years ago
stat.go Add disk based edge caching support. (#5182) 7 years ago

README.md

atime

GoDoc Release Software License Build Status Coverage Status Go Report Card Sourcegraph

Usage

File Access Times for #golang

Looking for ctime or btime? Checkout https://github.com/djherbis/times

Go has a hidden atime function for most platforms, this repo makes it accessible.

package main

import (
  "log"

  "github.com/djherbis/atime"
)

func main() {
  at, err := atime.Stat("myfile")
  if err != nil {
    log.Fatal(err.Error())
  }
  log.Println(at)
}

Installation

go get github.com/djherbis/atime