make_object_store_path

Function make_object_store_path 

Source
pub fn make_object_store_path(base_path: &str, components: &[&str]) -> String
Expand description

Creates an object store path using forward slashes.

Object stores (S3, GCS, etc.) always expect forward slashes regardless of platform. Use this when creating paths for object store operations.

§Arguments

  • base_path - The base path (can be empty)
  • components - Path components to join

§Returns

A string path with forward slash separators

§Examples

let path = make_object_store_path("base", &["data", "quotes", "EURUSD"]);
assert_eq!(path, "base/data/quotes/EURUSD");