List of functions in the ude.storage namespace.
| Entity Name | Description |
|---|---|
| save_compressed_ir | Serializes a ProjectCatalog model into JSON and compresses it on-the-fly using Gzip. |
| load_compressed_ir | Reads a Gzip-compressed file, decompresses it, and parses it into a typed ProjectCatalog. |
| calculate_sha256 | Calculates the SHA-256 hash of a string or bytes content. |
| compute_template_hash | Calculates a stable SHA-256 hash of all file contents inside a template directory. |
| get_file_metadata | Retrieves modification time, size, and SHA-256 content hash of a file. |
Generated with Flude
Copyright © 2026
Directory & Entity Index
| Entity Name | Summary / Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| calculate_sha256 function | Calculates the SHA-256 hash of a string or bytes content. Returns: The hex-encoded SHA-256 digest. Methodscalculate_sha256
Calculates the SHA-256 hash of a string or bytes content. Returns: The hex-encoded SHA-256 digest.
Generated with Flude Copyright © 2026 | |||||||||
| compute_template_hash function | Calculates a stable SHA-256 hash of all file contents inside a template directory. Files are read in UTF-8 and hashed in alphabetical order of their relative path to ensure cross-platform stability. Returns: The hex-encoded SHA-256 digest of the combined file contents, or "" Methodscompute_template_hash
Calculates a stable SHA-256 hash of all file contents inside a template directory. Files are read in UTF-8 and hashed in alphabetical order of their relative path to ensure cross-platform stability. | |||||||||
| get_file_metadata function | Retrieves modification time, size, and SHA-256 content hash of a file. Returns: A 3-tuple of (mtime, size in bytes, hex-encoded SHA-256 digest). Methodsget_file_metadata
Retrieves modification time, size, and SHA-256 content hash of a file. Returns: A 3-tuple of (mtime, size in bytes, hex-encoded SHA-256 digest).
Generated with Flude | |||||||||
| load_compressed_ir function | Reads a Gzip-compressed file, decompresses it, and parses it into a typed ProjectCatalog. Raises: FileNotFoundError: If the file does not exist. Returns: The deserialized and validated ProjectCatalog instance. Methodsload_compressed_ir
Reads a Gzip-compressed file, decompresses it, and parses it into a typed ProjectCatalog. Raises: FileNotFoundError: If the file does not exist. Returns: The deserialized and validated ProjectCatalog instance.
Generated with Flude | |||||||||
| save_compressed_ir function | Serializes a ProjectCatalog model into JSON and compresses it on-the-fly using Gzip. Methodssave_compressed_ir
Serializes a ProjectCatalog model into JSON and compresses it on-the-fly using Gzip.
Generated with Flude Copyright © 2026 |