Documentation
¶
Overview ¶
Package pathvalidation provides validation utilities for file paths
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPathComponents ¶
CheckPathComponents checks each component of a path for unresolved template variables. This is useful when you want to identify which specific directory component has the issue.
func CheckUnresolvedTemplateVars ¶
CheckUnresolvedTemplateVars checks if a path contains unresolved template variables. Returns an error if any template-like patterns are found.
func ValidatePathForCreation ¶
ValidatePathForCreation performs all validation checks suitable for path creation operations. This includes checking for unresolved template variables.
Types ¶
type UnresolvedTemplateError ¶
UnresolvedTemplateError indicates a path contains unresolved template variables
func (*UnresolvedTemplateError) Error ¶
func (e *UnresolvedTemplateError) Error() string
Click to show internal directories.
Click to hide internal directories.