<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/PathConfOperations/truncatesLongNames",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(pl)FSVolumePathConfOperations(py)truncatesLongNames"
  },
  "title" : "truncatesLongNames"
}
-->

# truncatesLongNames

A property that indicates whether the volume truncates files longer than its maximum supported length.

```
var truncatesLongNames: Bool { get }
```

## Discussion

If this value is `true`, the volume truncates the filename to [`maximumNameLength`](/documentation/FSKit/FSVolume/PathConfOperations/maximumNameLength) if the filename is longer than that.
If this value is false, the file system responds with the error code `ENAMETOOLONG` if the filename is longer than [`maximumNameLength`](/documentation/FSKit/FSVolume/PathConfOperations/maximumNameLength).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)