Check type ID#

kind: filesystem_path_depth

Purpose#

Bound directory nesting relative to the collection root.

Configuration keys#

FieldRequiredDefaultMeaning
minno-Minimum depth (at least one of min/max).
maxno-Maximum depth; 0 means a flat collection (at least one of min/max).

Example#

collections:
  notes:
    path: notes
    checks:
      - kind: filesystem_path_depth
        max: 0