Expand description
Protocol utilities for storage identifier parsing
TegDB now targets native platforms exclusively, so only the file:// protocol
is supported when opening databases.
Constants§
- PROTOCOL_
FILE - File-based storage protocol prefix
- PROTOCOL_
NAME_ FILE - Canonical protocol name
Functions§
- extract_
path - Extract the path part from a storage identifier
- has_
protocol - Check if an identifier uses the
file://protocol explicitly - parse_
storage_ identifier - Parse a storage identifier to extract the protocol and path