<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSGetXattrResult",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSGetXattrResult"
  },
  "title" : "FSGetXattrResult"
}
-->

# FSGetXattrResult

The result of a get-extended-attributes call.

```
class FSGetXattrResult
```

## Overview

Use this type in your implementation [`getXattr(named:of:context:replyHandler:)`](/documentation/FSKit/FSVolume/XattrHandler/getXattr(named:of:context:replyHandler:))

## Topics

### Creating a get-extended-attributes result

[`init?(xattrValue: Data)`](/documentation/FSKit/FSGetXattrResult/init(xattrValue:))

Creates a result for an extended-attribute-getting operation.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`FSVolumeHandlerResult`](/documentation/FSKit/FSVolumeHandlerResult)

---

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)