<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/validators/file-exists, branch 1.4.0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2022-12-13T19:49:04+00:00</updated>
<entry>
<title>validators: T4798: replace python file-exists validator with file-path</title>
<updated>2022-12-13T19:49:04+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-12-13T18:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=046bb9ccd56ac5e97c638bb4a9ca856d3d36026a'/>
<id>urn:sha1:046bb9ccd56ac5e97c638bb4a9ca856d3d36026a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validator: T2417: try to make the code clearer</title>
<updated>2020-05-06T15:45:44+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-05-06T15:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3639a5610b590a64d6d56bee81dddd252994cfe5'/>
<id>urn:sha1:3639a5610b590a64d6d56bee81dddd252994cfe5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Validator: add file-exists as replacement to Vyatta check_file_in_config_dir</title>
<updated>2019-08-07T09:58:21+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2019-08-07T09:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=097a088725eb632bec3e09a2e563fc96139d86ba'/>
<id>urn:sha1:097a088725eb632bec3e09a2e563fc96139d86ba</id>
<content type='text'>
Verify if a file exists or not on the system. Can be called by:
&lt;constraint&gt;
  &lt;validator name="file-exists" argument="--directory /config/auth"/&gt;
&lt;/constraint&gt;

The --directory option is used to ensure a given file path lies under this
(mandatory) directory. A directory can be mandatory when the optional argument
-e, --error is used. This will return '1' instead of '0'.
</content>
</entry>
</feed>
