prescan_directory

ltdconveyor.s3.presignedpost.prescan_directory(base_dir, _current_dir=None)

Make a list of all directories in a site, including the root directory.

This function is used to the LTD Keeper API what presigned POST URLs to create for a build (see ltdconveyor.keeper.register_build).

Returns:
dirnames : list

A list of directory names, relative to the root directory. The root directory is represented by "/". All directory names end with "/".