---
title: path
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/file/path
---

# path

The path of the file.

## Declaration

```swift
var path: Path { get }
```

## See Also

### Inspecting the File

- [type](swift-package-manager/documentation/packageplugin/file/type.md)
- [url](swift-package-manager/documentation/packageplugin/file/url.md)
