---
title: resolveSymlinksInPath()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/url/resolvesymlinksinpath()
---

# resolveSymlinksInPath()

Resolves any symlinks in the path of a file URL.

## Declaration

```swift
mutating func resolveSymlinksInPath()
```

## Discussion

Discussion If the isFileURL is false, this method does nothing.

## See Also

### Working with file URLs

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