INNER CODE UNIT · Python
attachments
mfarragher/obsidiantools · obsidiantools/api.py:191
def attachments(self, value) -> bool:
self._attachments = value
@property
def md_file_index(self) -> dict[str, Path]:
"""dict: one-to-one mapping of md filename (k) to relative path (v)"""
return self._md_file_index
@md_file_index.setter
def md_file_index(self, value) -> dict[str, Path]:
self._md_file_index = value
@property
def canvas_file_index(self) -> dict[str, Path]:
"""dict: one-to-one mapping of canvas filename (k) to relative path
(v)"""
return self._canvas_file_index