="level3">
<h3>Usage</h3>
<p><strong>fs</strong> functions are divided into four main categories:</p>
<ul>
<li><code>path_</code> for manipulating paths</li>
<li><code>file_</code> for files</li>
<li><code>dir_</code> for directories</li>
<li><code>link_</code> for links</li>
</ul>
<p>Directories and links are special types of files, so <code>file_</code> functions will generally also work when applied to a directory or link.</p>
<pre class="r"><code>library(fs)

# list files in the current directory
dir_ls