Skip to content

findPathCompatibilityViolations

Finds everything wrong with a path, across every enabled platform.

Read-only: this is what the consistency report renders, and it never proposes a repair.

Import:

import { findPathCompatibilityViolations } from '@mnaoumov/obsidian-lib/path-compatibility';

Signature:

function findPathCompatibilityViolations(params: FindPathCompatibilityViolationsParams): PathCompatibilityViolation[]

Parameters:

Parameter Type Description
params FindPathCompatibilityViolationsParams The path and the platforms to check it against.

Returns: PathCompatibilityViolation[] — The violations, empty when the path is valid everywhere.


Links to this page: