Vinzent03 / find-unlinked-files

Find files, which are nowhere linked, so they are maybe lost in your vault.
MIT License
293 stars 14 forks source link

Is there any way to recognize when a file is only linked by a dataview query? #44

Closed haemi closed 1 year ago

haemi commented 1 year ago

I know it's a lot to ask for, but I'm looking for a way to find files that are currently not linked at all, not even by a dataview query

Vinzent03 commented 1 year ago

I'm not really familiar with the dataview plugin, but I think your issue title and description don't match?

claudius-krause commented 1 year ago

I'm having the same question. I use the dataview plugin to create tables of content files. For example, dataview creates a table containing all notes that have a given tag. The links in these tables are not seen by this plugin, as all the files still appear in the created .md file, even though they are linked through the dataview table.

Vinzent03 commented 1 year ago

I'm working with the metadata cache from Obsidian. Basically the same data that is used to build the graph view. Again, I don't know exactly how dataview works, but I don't think that's cached there and instead calculated dynamically when the page is opened. I won't add support for dataview queries, because of performance reasons, and I'm not familiar with how I would access these links.