<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSExtentType/readOnly",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:@E@FSExtentType@FSExtentTypeReadOnly"
  },
  "title" : "FSExtentType.readOnly"
}
-->

# FSExtentType.readOnly

An extent type to indicate read-only data.

```
case readOnly
```

## Discussion

Use this type to represent ranges in the file that data can be read but not written to.

---

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)