pub fn build_html_directory_listing(
url: &Url,
path: PathBuf,
directory_contents: ReadDir,
) -> StringExpand description
Returns an the string of an JavaScript <script> tag calling the setData function with the
contents of the given ReadDir directory listing.
ยงArguments
url- the original URL of the request that triggered this directory listing.path- the full path to the local directory.directory_contents- aReadDirwith the contents of the directory.