946 B
946 B
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |
|---|---|---|---|---|---|
|
2026-04-17T16:29:45.030001+00:00 | zai-org/GLM-5-FP8 | 1 | 0f336a841c73386c |
Utilities
Purpose
This module provides disk and file system utility functions for the DatabaseImporter subsystem. It centralizes validation logic for file and path naming to ensure compatibility with operating system constraints.
Public Interface
DiskUtility
public static bool ValidateFileAndPathNameChars(string nameToValidate)— Validates that the input string contains no illegal characters for file or path names. Returnstrueif valid,falseotherwise. Checks againstPath.GetInvalidFileNameChars(),Path.GetInvalidPathChars(), and additionally rejects strings containing periods (.) or strings that are empty/whitespace-only after trimming.
Invariants
- Input string must not be