MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / create_folder_from_path

Method create_folder_from_path

rust/src/project.rs:172–183  ·  view source on GitHub ↗

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,
    )

Source from the content-addressed store, hash-verified

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 ///

Callers 1

modify_projectFunction · 0.45

Tested by 1

modify_projectFunction · 0.36