utils

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEndpointUrl

func BuildEndpointUrl(url string, port int) string

func BuildFileList

func BuildFileList(paths []string) ([]string, error)

BuildFileList - Builds a list of files from a given path(s)

func FilePathWalkDir

func FilePathWalkDir(root string) ([]string, error)

FilePathWalkDir - finds files within a given directory

func IsDir

func IsDir(path string) bool

IsDir - Checks if a provided path is a directory or not

Types

type UploadPaths

type UploadPaths []string

func (UploadPaths) Validate

func (p UploadPaths) Validate() error

Validate that the path(s) exist

Jump to

Keyboard shortcuts

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