JohnSundell / JohnSundell/Files

Unable to get hidden files

Open
#128 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
2.6k
Forks
197
PR merge metrics
No merged PRs in 30d

Description

I've got a script where I'm trying to work with a hidden `.swiftlint.yml` file. As far as I can tell Files doesn't allow working with hidden files, it always shows a `missing` error when trying to access one. Is that correct or am I missing something?

My current work around is to use `URL`s.

```swift
let fileURL = folder
.url
.appendingPathComponent(".swiftlint.yml")
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.