Recursively create files and folders in the project from a path on disk `path` - Path to folder on disk `parent` - Parent folder in the project that will contain the new contents `description` - Description for created root folder
(
&self,
path: P,
parent: Option<&ProjectFolder>,
description: D,
)
| 170 | /// * `parent` - Parent folder in the project that will contain the new contents |
| 171 | /// * `description` - Description for created root folder |
| 172 | pub fn create_folder_from_path<P, D>( |
| 173 | &self, |
| 174 | path: P, |
| 175 | parent: Option<&ProjectFolder>, |
| 176 | description: D, |
| 177 | ) -> Result<Ref<ProjectFolder>, ()> |
| 178 | where |
| 179 | P: BnStrCompatible, |
| 180 | D: BnStrCompatible, |
| 181 | { |
| 182 | self.create_folder_from_path_with_progress(path, parent, description, NoProgressCallback) |
| 183 | } |
| 184 | |
| 185 | /// Recursively create files and folders in the project from a path on disk |
| 186 | /// |