<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSReadSymlinkResult/init(contents:symlinkAttributes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSReadSymlinkResult(im)initWithContents:symlinkAttributes:"
  },
  "title" : "init(contents:symlinkAttributes:)"
}
-->

# init(contents:symlinkAttributes:)

Creates a result for a symlink-reading operation.

```
init?(contents: FSFileName, symlinkAttributes attributes: FSItem.Attributes)
```

## Parameters

`contents`

The contents of the symbolic link.

`attributes`

The [`FSItem.Attributes`](/documentation/FSKit/FSItem/Attributes) of the symbolic link.

## Return Value

A populated result instance, or `nil` if validation fails.

---

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)