Skip to content

PathCompatibilityMeasurement

A length a path or name was measured at, and the limit it exceeds.

Import:

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

Signature:

export interface PathCompatibilityMeasurement

Properties

PropertyTypeDescription
isInBytesbooleanWhether both numbers count UTF-8 bytes rather than UTF-16 units.
lengthnumberThe measured length.
limitnumberThe largest length the platform accepts.
vaultRootLengthnull | numberThe vault root length counted into PathCompatibilityMeasurement.length, before the separator after it. null for a name, which carries no root.

Links to this page: