utils

package
v0.0.0-...-6cea029 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: GPL-3.0 Imports: 8 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 IsEmpty

func IsEmpty(dir string) (bool, error)

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