Skip to content

DataWriteOptions

Official

Custom options for writing to a file.

Import:

import type { DataWriteOptions } from 'obsidian';

Signature:

export interface DataWriteOptions

Properties

Property Type Description
ctime? number Time of creation, represented as a unix timestamp, in milliseconds. Omit this if you want to keep the default behavior.
mtime? number Time of last modification, represented as a unix timestamp, in milliseconds. Omit this if you want to keep the default behavior.