SyncServerFile
Unofficial
A file record the Sync server pushed, as kept in SyncPluginInstance.serverFiles.
Import:
import type { SyncServerFile } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface SyncServerFileProperties
| Property | Type | Description | |
|---|---|---|---|
| ctime | number | The creation time, in milliseconds since the epoch. | |
| deleted | boolean | Whether the file was deleted or renamed away. | |
| device | string | The name of the device that pushed the file. | |
| folder | boolean | Whether the entry is a folder. | |
| hash | string | The content hash. | |
| initial? | boolean | Whether the record arrived during the initial sync. | |
| mtime | number | The modification time, in milliseconds since the epoch. | |
| path | string | The vault path. | |
| size | number | The size in bytes. | |
| uid | number | The server version of the record. | |
| user | number | The id of the user who pushed the file. |
Links to this page: