---
title: "init(url:writable:)"
framework: fskit
role: symbol
role_heading: Initializer
path: "fskit/fspathurlresource/init(url:writable:)-2l10q"
---

# init(url:writable:)

Creates a path URL resource.

## Declaration

```swift
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.
