utils

package
v0.0.0-...-40168c8 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateParentFolders

func CreateParentFolders(file string) error

func Exists

func Exists(name string) bool

func GetIndexedFiles

func GetIndexedFiles(body []byte) ([]string, error)

func GetReferencedHashes

func GetReferencedHashes(obj object.Object) []string

func IgnoreError

func IgnoreError(err error) bool

func IsEmpty

func IsEmpty(dir string) (bool, error)

func IsEmptyBytes

func IsEmptyBytes(b []byte) bool

func IsFolder

func IsFolder(name string) bool

func IsHtml

func IsHtml(body []byte) bool

func MaxInt

func MaxInt(x, y int) int

func MinInt

func MinInt(x, y int) int

func StringsContain

func StringsContain(slice []string, str string) bool

func Url

func Url(base, path string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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