fs

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache(path string, conditions ...pipeline.CacheCondition) pipeline.Cacher

Cache will store the directory or file located at `path` if the conditions return true. If all of the conditions return true, then the step is skipped and the directory is added to the local filesystem.

func FileHasChanged

func FileHasChanged(file string) pipeline.CacheCondition

FileHasChanged creates a checksum for the file "file" and stores it. If the checksum does not exist in the scribe key store, then it will return false.

func Glob

func Glob(string) pipeline.Artifact

func Replace

func Replace(file string, content string) pipeline.Action

func ReplaceString

func ReplaceString(file string, content string) pipeline.Action

Types

This section is empty.

Jump to

Keyboard shortcuts

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