resolve
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/path · Kind Function
import { resolve } from '@netwiv/api/path';Resolves a sequence of paths or path segments into an absolute path.
Signature
Section titled “Signature”function resolve(...paths: string[]): Promise<string>Example
Section titled “Example”import { resolve, appDataDir } from '@netwiv/api/path';const appDataDirPath = await appDataDir();const path = await resolve(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');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.