extract_identifier_from_path

Function extract_identifier_from_path 

Source
pub fn extract_identifier_from_path(file_path: &str) -> String
Expand description

Extracts the identifier from a file path.

The identifier is typically the second-to-last path component (directory name). For example, from “data/quote_tick/EURUSD/file.parquet”, extracts “EURUSD”.