MCPcopy Create free account
hub / github.com/PerroEngine/Perro / pick_folder_impl

Function pick_folder_impl

perro_source/api_modules/perro_modules/src/file.rs:155–160  ·  view source on GitHub ↗
(title: &str)

Source from the content-addressed store, hash-verified

153 Ok(())
154}
155
156#[cfg(not(target_arch = "wasm32"))]
157fn pick_folder_impl(title: &str) -> Option<String> {
158 rfd::FileDialog::new()
159 .set_title(title)
160 .pick_folder()
161 .map(|path| path.to_string_lossy().to_string())
162}
163

Callers 1

pick_folderFunction · 0.85

Calls 1

set_titleMethod · 0.80

Tested by

no test coverage detected