osutils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileValidator

type FileValidator struct{}

FileValidator has ability to validate whether path points at any file on user OS

func NewFileValidator

func NewFileValidator() FileValidator

func (FileValidator) Validate

func (fv FileValidator) Validate(in interface{}) error

Validate checks whether in is valid path to any file on local user OS

Jump to

Keyboard shortcuts

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