diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-27 06:17:06 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-27 06:17:06 +0800 |
| commit | 76e78fe53c03c9b4c7fa029709f06ee86ce9c865 (patch) | |
| tree | 4e3778dfb405b2c21b51df24331100b94f5356d9 /systems/_constants | |
| parent | 748c8a3353df887ee4b01e0e1327aa95c1c7225a (diff) | |
Add storage system with chunk-based file storage
Diffstat (limited to 'systems/_constants')
| -rw-r--r-- | systems/_constants/src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/systems/_constants/src/lib.rs b/systems/_constants/src/lib.rs index 4b7919f..30ea89b 100644 --- a/systems/_constants/src/lib.rs +++ b/systems/_constants/src/lib.rs @@ -49,6 +49,16 @@ pub mod server { /// File and directory path constants for the vault root #[allow(unused)] pub mod vault { + /// Others + #[constants_macros::constants("vault_value")] + pub mod values { + c! { INDEX_FILE_SUFFIX = "index" } + c! { INDEX_FILE_SUFFIX_DOT = ".index" } + + c! { SHEET_FILE_SUFFIX = "sheet" } + c! { SHEET_FILE_SUFFIX_DOT = ".sheet" } + } + /// File path constants #[constants_macros::constants("vault_file")] pub mod files { |
