cross_storage/target/providers/
storage_get_util.rs

1pub fn storage_get(key: &str) -> Result<String, String> {
2    #[cfg(any(
3        target_os = "macos",
4        target_os = "linux",
5        target_os = "windows",
6        target_os = "android"
7    ))]
8    return super::super::super::storage_get_native(key);
9
10    #[cfg(target_family = "wasm")]
11    return super::super::super::storage_get_web(key);
12}