0.1.8
Loading...
Searching...
No Matches
files.py File Reference

Go to the source code of this file.

Namespaces

namespace  pyhelios
 
namespace  pyhelios.validation
 
namespace  pyhelios.validation.files
 

Functions

str pyhelios.validation.files.validate_file_path (str filename, List[str] expected_extensions=None, bool must_exist=True, str param_name="filename", str function_name=None)
 Validate and normalize file path with security checks.
 
str pyhelios.validation.files.validate_directory_path (str directory, bool must_exist=True, bool create_if_missing=False, str param_name="directory", str function_name=None)
 Validate and normalize directory path.