Debian Codegraph @

/

debian golang-github-djherbis-atime 1.1.0-2debian golang-github-djherbis-atime-dev gomod github.com/djherbis/atime debiangogoinimakefilemarkdownshellyaml 26 files · 74 symbols
README (full)

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
dir debian/
file .travis.yml
file LICENSE
file README.md
file atime_darwin.go
file atime_dragonfly.go
file atime_freebsd.go
file atime_linux.go
file atime_nacl.go
file atime_netbsd.go
file atime_openbsd.go
file atime_plan9.go
file atime_solaris.go
file atime_test.go
file atime_wasm.go
file atime_windows.go
file go.mod
file stat.go