Documentation
On this page

Function · Desktop Services

showItemInFolder

Reveals a file or folder in the native file manager.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
showItemInFolder(path: string): Promise<void>

Parameters

NameTypeDescription
pathstringLocal path to reveal.

Returns

Promise<void> — A promise completed after the native reveal request is submitted.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1470 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.