summaryrefslogtreecommitdiff
path: root/pkg/ctime/ctime.go
blob: f5c69c7e3d021957f9d9fb10dadf270df85ecb47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Package ctime includes a utility for determining file-creation times.
package ctime

import (
	"os"
	"time"
)

// Created returns the file-creation time.
func Created(fi os.FileInfo) time.Time {
	return created(fi)
}