MCPcopy Create free account
hub / github.com/chhoumann/MetaEdit / getPropertiesInFile

Method getPropertiesInFile

src/metaController.ts:43–49  ·  view source on GitHub ↗
(file: TFile)

Source from the content-addressed store, hash-verified

41 }
42
43 public async getPropertiesInFile(file: TFile): Promise<Property[]> {
44 const yaml = await this.parser.parseFrontmatter(file);
45 const inlineFields = await this.parser.parseInlineFields(file);
46 const tags = await this.parser.getTagsForFile(file);
47
48 return [...tags, ...yaml, ...inlineFields];
49 }
50
51 public async addYamlProp(propName: string, propValue: unknown, file: TFile): Promise<void> {
52 // Refuse reserved object-machinery keys before any work: assigning

Callers 8

mobile-sweep.jsFile · 0.80
getPropertyInFileMethod · 0.80
runMetaEditForFileMethod · 0.80
updateFileInBoardMethod · 0.80
onFileModifyMethod · 0.80
core_smoke.jsFile · 0.80

Calls 3

parseFrontmatterMethod · 0.80
parseInlineFieldsMethod · 0.80
getTagsForFileMethod · 0.80

Tested by

no test coverage detected