Skip to content

DataWriteOptions

Official

Custom options for writing to a file.

Import:

import type { DataWriteOptions } from 'obsidian';

Signature:

export interface DataWriteOptions

Properties

PropertyTypeDescription
ctime?numberTime of creation, represented as a unix timestamp, in milliseconds. Omit this if you want to keep the default behavior.
mtime?numberTime of last modification, represented as a unix timestamp, in milliseconds. Omit this if you want to keep the default behavior.