Module Expr Str Import alias Import alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list
N/A N/A 
Extension of the built-in file module to support an arbitrary `exists` method
for knowing if a file, directory, device, symlink, etc exists or not. The
existing methods `file_exists` and `directory_exists` only look at those
types, so there's not a convenient way of checking if /dev/xvdj exists for
example.
 N/A salt.utils N/A os.path N/A __virtualname__ file __virtual__ N/A N/A N/A N/A N/A 
    Only work on POSIX-like systems
     N/A N/A N/A N/A salt utils is_windows N/A N/A False N/A file N/A exists N/A N/A path N/A N/A N/A 
    Tests to see if a path exists.  Returns True/False.

    CLI Example::

        salt '*' file.exists /dev/xvdj

     N/A N/A N/A N/A os path exists path N/A