---
title: truncatesLongNames
framework: fskit
role: symbol
role_heading: Instance Property
path: fskit/fsvolume/pathconfoperations/truncateslongnames
---

# truncatesLongNames

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

## Declaration

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

## Discussion

Discussion If this value is true, the volume truncates the filename to 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.

## See Also

### Checking limits and configurations

- [maximumLinkCount](fskit/fsvolume/pathconfoperations/maximumlinkcount.md)
- [maximumNameLength](fskit/fsvolume/pathconfoperations/maximumnamelength.md)
- [restrictsOwnershipChanges](fskit/fsvolume/pathconfoperations/restrictsownershipchanges.md)
- [maximumFileSize](fskit/fsvolume/pathconfoperations/maximumfilesize.md)
- [maximumFileSizeInBits](fskit/fsvolume/pathconfoperations/maximumfilesizeinbits.md)
- [maximumXattrSize](fskit/fsvolume/pathconfoperations/maximumxattrsize.md)
- [maximumXattrSizeInBits](fskit/fsvolume/pathconfoperations/maximumxattrsizeinbits.md)
