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 PathCompatibilityMeasurementProperties
| Property | Type | Description |
|---|---|---|
| isInBytes | boolean | Whether both numbers count UTF-8 bytes rather than UTF-16 units. |
| length | number | The measured length. |
| limit | number | The largest length the platform accepts. |
| vaultRootLength | null | number | The vault root length counted into PathCompatibilityMeasurement.length, before the separator after it. null for a name, which carries no root. |
Links to this page: