revealItemInDir
Module @netwiv/api/plugins/opener · Kind Function
import { revealItemInDir } from '@netwiv/api/plugins/opener';Reveal a path with the system’s default explorer.
Platform-specific:
Section titled “Platform-specific:”- Android / iOS: Unsupported.
Signature
Section titled “Signature”function revealItemInDir(path: string | string[]): Promise<void>Example
Section titled “Example”import { revealItemInDir } from '@netwiv/api/plugins/opener';await revealItemInDir('/path/to/file');await revealItemInDir([ '/path/to/file', '/path/to/another/file' ]);Upstream since 2.0.0
Descriptions come from the pinned @tauri-apps/plugin-opener@2.5.5 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.