Check type ID#

kind: filesystem_name_length

Purpose#

Bound the character length of a name.

Configuration keys#

FieldRequiredDefaultMeaning
minno-Minimum length (at least one of min/max).
maxno-Maximum length (at least one of min/max).
targetnofilenameWhat to test: filename, filename-ext, parent-dir, or path-segments.

Example#

collections:
  notes:
    path: notes
    checks:
      - kind: filesystem_name_length
        max: 80