---
title: "init(url:)"
framework: fskit
role: symbol
role_heading: Initializer
path: "fskit/fsgenericurlresource/init(url:)-2cmhi"
---

# init(url:)

Creates a generic URL resource with the given URL.

## Declaration

```swift
init(url: URL)
```

## Parameters

- `url`: A URL that provides the content of the file system. The format of this URL is completely arbitrary. It’s up to your extension to access the contents represented by the URL and make them available as an doc://FSKit/documentation/FSKit/FSVolume that FSKit can load.
