(&self, path: &str, data: &str)
| 46 | } |
| 47 | |
| 48 | pub async fn save_string(&self, path: &str, data: &str) -> Result<(), String> { |
| 49 | self.save_bytes(path, data.as_bytes()).await |
| 50 | } |
| 51 | |
| 52 | pub async fn save_bytes(&self, path: &str, data: &[u8]) -> Result<(), String> { |
| 53 | #[cfg(not(target_arch = "wasm32"))] |
nothing calls this directly
no test coverage detected