unisonweb/unison

Built-ins to get and set file permissions

Open

#2,790 opened on 2022年1月10日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Haskell (304 forks)batch import
feature: new builtinhelp wanted

Repository metrics

Stars
 (6,624 stars)
PR merge metrics
 (平均マージ 10d 2h) (30d で 5 merged PRs)

説明

It is currently not possible to query or modify the permissions of a file or directory from Unison. Support for these functions would need a native implementation.

My use-case: In dhall-unison I'd like to check if the cache directories are readable and writeable. As a "workaround" I always attempt to read/write files and handle errors appropriately

See also this discussion on Slack https://unisonlanguage.slack.com/archives/CLUNF0J5S/p1641645307009800

コントリビューターガイド