fs

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModTimeFS

type ModTimeFS struct {
	// contains filtered or unexported fields
}

ModTimeFS is an http.FileSystem wrapper that modifies underlying fs such that all of its file mod times are set to zero.

func NewModTimeFS

func NewModTimeFS(fs http.FileSystem) ModTimeFS

NewModTimeFS creates a ModTimeFS

func (ModTimeFS) Open

func (m ModTimeFS) Open(name string) (http.File, error)

Open wraps the file with a modTimeFile

Jump to

Keyboard shortcuts

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