file

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsChanged

func IsChanged(files ...*File) bool

func Update

func Update(files ...*File) bool

Types

type File

type File struct {
	Name string
	// contains filtered or unexported fields
}

func Stat

func Stat(path string) (*File, error)

func (*File) Mtime

func (f *File) Mtime() time.Time

func (*File) SetMtime

func (f *File) SetMtime(t time.Time)

Jump to

Keyboard shortcuts

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