Plugin Development:How to access the hidden directories?

In my note repo,there is a hidden directories - ‘.resources’。I want to access the folder by plugin api。How can i do it?

app.vault.someMethod() won’t work with hidden files/directories

Use app.vault.adapter.someMethod() instead