timestamper

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitTimestamper

type GitTimestamper struct {
}

func NewGit

func NewGit() GitTimestamper

func (GitTimestamper) CreatedAt

func (gt GitTimestamper) CreatedAt(filepath string) (time.Time, error)

func (GitTimestamper) UpdatedAt

func (gt GitTimestamper) UpdatedAt(filepath string) (time.Time, error)

type Timestamper

type Timestamper interface {
	CreatedAt(filepath string) (time.Time, error)
	UpdatedAt(filepath string) (time.Time, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL