Creates a directory at the specified path, including all parent directories.
(path: &Path)
| 3 | |
| 4 | /// Creates a directory at the specified path, including all parent directories. |
| 5 | pub async fn create_dir(path: &Path) -> Result<()> { |
| 6 | tokio::fs::create_dir_all(path).await?; |
| 7 | Ok(()) |
| 8 | } |
| 9 | |
| 10 | /// Recursively copies a directory from source to destination. |
| 11 | pub fn copy_dir<'a>( |
no outgoing calls