Skip to content

Commit 6b1c2e6

Browse files
committed
jsdoc: Note that parseFileContent() can only be called once per instance
1 parent 8d28482 commit 6b1c2e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Obsidian/FileParser.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export class FileParser {
4141
this.dateFromFileName = new Lazy(() => DateFallback.fromPath(this.filePath));
4242
}
4343

44+
/**
45+
* **Warning**: This is designed to only be called **once per {@link FileParser} instance**.
46+
*/
4447
public parseFileContent() {
4548
if (this.listItems === undefined) {
4649
// When called via Cache, this function would never be called or files without list items.

0 commit comments

Comments
 (0)