WriteFileOptions
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/plugins/fs · Kind Interface
import { WriteFileOptions } from '@netwiv/api/plugins/fs';Members
Section titled “Members”append?
Section titled “append?”append?: boolean | undefinedDefaults to false. If set to true, will append to a file instead of overwriting previous contents.
baseDir?
Section titled “baseDir?”baseDir?: BaseDirectory | undefinedBase directory for path
create?
Section titled “create?”create?: boolean | undefinedSets the option to allow creating a new file, if one doesn’t already exist at the specified path (defaults to true).
createNew?
Section titled “createNew?”createNew?: boolean | undefinedSets the option to create a new file, failing if it already exists.
mode?: number | undefinedFile permissions. Ignored on Windows.
Upstream since 2.0.0
Descriptions come from the pinned @tauri-apps/plugin-fs@2.5.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.