Skip to content

revealItemInDir

Module @netwiv/api/plugins/opener · Kind Function

import { revealItemInDir } from '@netwiv/api/plugins/opener';

Reveal a path with the system’s default explorer.

  • Android / iOS: Unsupported.
function revealItemInDir(path: string | string[]): Promise<void>
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.