# salt.fileserver.roots

The default file server backend

Based on the environments in the `file_roots` configuration option.

`salt.fileserver.roots.` `dir_list`(load)

  Return a list of all directories on the master

`salt.fileserver.roots.` `envs`()

  Return the file server environments

`salt.fileserver.roots.` `file_hash`(load, fnd)

  Return a file hash, the hash type is set in the master config file

`salt.fileserver.roots.` `file_list`(load)

  Return a list of all files on the file server in a specified environment

`salt.fileserver.roots.` `file_list_emptydirs`(load)

  Return a list of all empty directories on the master

`salt.fileserver.roots.` `find_file`(path, env='base', **kwargs)

  Search the environment for the relative path

`salt.fileserver.roots.` `serve_file`(load, fnd)

  Return a chunk from a file based on the data received

`salt.fileserver.roots.` `symlink_list`(load)

  Return a dict of all symlinks based on a given path on the Master

`salt.fileserver.roots.` `update`()

  When we are asked to update (regular interval) lets reap the cache

Current Salt release: 0.17.1

#### Previous topic

salt.fileserver.hgfs

#### Next topic

salt.fileserver.s3fs

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd