MCPcopy Create free account
hub / github.com/breach/thrust / ShowItemInFolderOnFileThread

Function ShowItemInFolderOnFileThread

src/browser/util/platform_util_linux.cc:55–61  ·  view source on GitHub ↗

TODO(estade): It would be nice to be able to select the file in the file manager, but that probably requires extending xdg-open. For now just show the folder.

Source from the content-addressed store, hash-verified

53// manager, but that probably requires extending xdg-open. For now just
54// show the folder.
55void ShowItemInFolderOnFileThread(const base::FilePath& full_path) {
56 base::FilePath dir = full_path.DirName();
57 if (!base::DirectoryExists(dir))
58 return;
59
60 XDGOpen(dir.value());
61}
62
63} // namespace
64

Callers

nothing calls this directly

Calls 1

XDGOpenFunction · 0.85

Tested by

no test coverage detected