Skip to content

getBugReportScrubbedPaths

Gets the folder paths a bug report from this device should not name: the vault folder, read from the vault adapter, and on desktop the user’s home folder. A path that cannot be read is left out.

Import:

import { getBugReportScrubbedPaths } from '@mnaoumov/obsidian-lib/bug-report-scrubber';

Signature:

function getBugReportScrubbedPaths(app: App): Promise<BugReportScrubbedPath[]>

Parameters:

Parameter Type Description
app App The Obsidian app instance.

Returns: Promise<BugReportScrubbedPath[]> — The paths, with VAULT_PATH_PLACEHOLDER and HOME_PATH_PLACEHOLDER.