pathvalidator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSLayer

type OSLayer interface {
	Stat(filePath string) (osfacade.FileInfo, error)
}

type PathValidator

type PathValidator struct {
	// contains filtered or unexported fields
}

func New

func New(
	osLayer OSLayer,
) *PathValidator

func (*PathValidator) ValidateFolderPath

func (v *PathValidator) ValidateFolderPath(filePath string) (string, error)

func (*PathValidator) ValidateMATLABScript

func (v *PathValidator) ValidateMATLABScript(filePath string) (string, error)

Jump to

Keyboard shortcuts

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