MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / stat

Method stat

tests/__mocks__/obsidian.ts:236–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234 private _stat: any = null;
235
236 get stat() {
237 if (this._stat) {
238 return this._stat;
239 }
240 const file = mockFileSystem.getFile(this.path);
241 return file?.stat || {
242 ctime: Date.now(),
243 mtime: Date.now(),
244 size: 0,
245 };
246 }
247
248 set stat(value: any) {
249 this._stat = value;

Callers

nothing calls this directly

Calls 2

getFileMethod · 0.80
nowMethod · 0.80

Tested by

no test coverage detected