util

package
v0.0.0-...-cfcfc91 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package util provides general utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExtension

func CheckExtension(path, ext string) error

CheckExtension checks if the file located at path (string) matches the provided extension type

func PathIsValid

func PathIsValid(path string, requireFile bool) bool

PathIsValid checks if a path is valid. If requireFile is set, directories are not considered valid.

func Traverse

func Traverse(root string, outRoot string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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