---
title: resolvingSymlinksInPath()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/url/resolvingsymlinksinpath()
---

# resolvingSymlinksInPath()

Resolves any symlinks in the path of a file URL.

## Declaration

```swift
func resolvingSymlinksInPath() -> URL
```

## Discussion

Discussion If the isFileURL is false, this method returns self.

## See Also

### Working with file URLs

- [isFileURL](foundation/url/isfileurl.md)
- [hasDirectoryPath](foundation/url/hasdirectorypath.md)
- [withUnsafeFileSystemRepresentation(_:)](foundation/url/withunsafefilesystemrepresentation(_:).md)
- [resolveSymlinksInPath()](foundation/url/resolvesymlinksinpath().md)
- [standardize()](foundation/url/standardize().md)
