rulefuncs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package rulefuncs provides custom validation rule functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(value any) error

DirExists validated that provided value is a valid path to an existing directory.

func ExecutableExists

func ExecutableExists(value any) error

ExecutableExists validates that provided value is an executable command in PATH or an absolute path to an executable file.

func FileExists

func FileExists(value any) error

FileExists validates that provided value is a valid path to an existing file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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