<!--
{
  "availability" : [
    "macOS: 15.4.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/Operations/readSymbolicLink(_:replyHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(pl)FSVolumeOperations(im)readSymbolicLink:replyHandler:"
  },
  "title" : "readSymbolicLink(_:replyHandler:)"
}
-->

# readSymbolicLink(_:replyHandler:)

Reads a symbolic link.

```
func readSymbolicLink(_ item: FSItem, replyHandler reply: @escaping @Sendable (FSFileName?, (any Error)?) -> Void)
```

## Parameters

`item`

The symbolic link to read from. FSKit guarantees this item is of type [`FSItem.ItemType.symlink`](/documentation/FSKit/FSItem/ItemType/symlink).

`reply`

A block or closure to indicate success or failure. If reading succeeds, pass the link’s contents as an [`FSFileName`](/documentation/FSKit/FSFileName) and a `nil` error. If reading fails, pass the relevant error as the second parameter; FSKit ignores any [`FSFileName`](/documentation/FSKit/FSFileName) in this case. For an `async` Swift implementation, there’s no reply handler; simply return the [`FSFileName`](/documentation/FSKit/FSFileName) or throw an error.

---

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)