<p dir="auto">Julia needs at least some of the usual file/directory manipulation functions. Something like <code class="notranslate">stat</code>, for sure, as well as <code class="notranslate">readdir</code>, maybe <code class="notranslate">glob</code>.</p>
<p dir="auto">Also, this is a bug:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; is_file_readable(&quot;.&quot;)
true"><pre class="notranslate"><code class="notranslate">julia&gt; is_file_readable(".")
true
</code></pre></div>
<p dir="auto">After PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="380988831" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/30046" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/30046/hovercard" href="https://github.com/JuliaLang/julia/pull/30046">#30046</a> was merged, in C code including <code class="notranslate">julia.h</code>, I am now seeing this warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In file included from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/ios.h:7:0,
                 from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/libsupport.h:13,
                 from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/julia.h:12,
                 from src/gap.c:54:
/home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/uv.h:1472:15: error: redundant redeclaration of ‘uv_fs_lchown’ [-Werror=redundant-decls]
 UV_EXTERN int uv_fs_lchown(uv_loop_t* loop,
               ^
/home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/uv.h:1466:15: note: previous declaration of ‘uv_fs_lchown’ was here
 UV_EXTERN int uv_fs_lchown(uv_loop_t* loop,
               ^"><pre class="notranslate"><code class="notranslate">In file included from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/ios.h:7:0,
                 from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/libsupport.h:13,
                 from /home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/julia.h:12,
                 from src/gap.c:54:
/home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/uv.h:1472:15: error: redundant redeclaration of ‘uv_fs_lchown’ [-Werror=redundant-decls]
 UV_EXTERN int uv_fs_lchown(uv_loop_t* loop,
               ^
/home/travis/build/gap-system/gap/julia-7920a2a1fb/include/julia/uv.h:1466:15: note: previous declaration of ‘uv_fs_lchown’ was here
 UV_EXTERN int uv_fs_lchown(uv_loop_t* loop,
               ^
</code></pre></div>
<p dir="auto">Indeed, the declaration appears twice in a row. I'd submit a PR to <a href="https://github.com/JuliaLang/libuv">https://github.com/JuliaLang/libuv</a> (assuming that is the right repository?), but I have a hard time figuring out which branch there is relevant -- there are 32 branches on that repository with various unclear names ("382" is my "favorite" ;-) ). The default branch is <code class="notranslate">julia-uv2</code>, but that one was last updated in July.</p>