<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Ffind_file</id>
	<title>Vendetta/API/find file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Ffind_file"/>
	<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/find_file&amp;action=history"/>
	<updated>2026-04-07T09:31:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.quasar-rce.com/index.php?title=Vendetta/API/find_file&amp;diff=28&amp;oldid=prev</id>
		<title>Wikiadmin: created find_file</title>
		<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/find_file&amp;diff=28&amp;oldid=prev"/>
		<updated>2025-03-03T06:49:16Z</updated>

		<summary type="html">&lt;p&gt;created find_file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Definition ===&lt;br /&gt;
lib.find_file (filepath, ...) :: nil&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Attempts to find a file using a variety of path options. This can be useful when you do not want to instantly run lua code with lib.resolve_file (such as using your own method of running the code, or when you need to pass arguments)&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
# string filepath: Primary file path to check&lt;br /&gt;
# string ...: alternate path(s) to check&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
# string valid_path: First valid path detected&lt;br /&gt;
# table all_valid: table containing every valid path detected&lt;br /&gt;
&lt;br /&gt;
=== Other notes ===&lt;br /&gt;
* Split from [[vendetta/API/resolve_file|lib.resolve_file]] and added as its own function in LME 3.7.x&lt;br /&gt;
* ../ and ../../ are checked for every provided path entry as well, in case the path is being adjusted by the Vendetta Online sandbox&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
	</entry>
</feed>