ef="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> string</span></code></div><div class="spec-doc"><p>convert a source file to a string WARNING: result may not be valid file path, do not use this function to perform operations on filenames</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-has_extension"><a href="#val-has_extension" class="anchor"></a><code><span><span class="keyword">val</span> has_extension : <span>ext:string <span class="arrow">&#45;&gt;</span></sp