resolveResource
Module @netwiv/api/path · Kind Function
import { resolveResource } from '@netwiv/api/path';Resolve the path to a resource file.
Signature
Section titled “Signature”function resolveResource(resourcePath: string): Promise<string>Example
Section titled “Example”import { resolveResource } from '@netwiv/api/path';const resourcePath = await resolveResource('script.sh');Upstream since 1.0.0
Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.