<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSPathURLResource/init(url:writable:)-2l10q",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(cs)FSPathURLResource(im)initWithURL:writable:"
  },
  "title" : "init(url:writable:)"
}
-->

# init(url:writable:)

Creates a path URL resource.

```
init(url URL: URL, writable: Bool)
```

## Parameters

`URL`

A URL in the system file space that represents the contents of a file system. This parameter uses the `file:` scheme.

`writable`

A Boolean value that indicates whether the file system supports writing to the contents of the URL.

---

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)