AzureStorage.FileShare.list_directories

You're seeing just the function list_directories, go back to AzureStorage.FileShare module for more information.
Link to this function

list_directories(context, share, path, options \\ [])

View Source

The List Directories and Files operation returns a list of files or directories under the specified share or directory. It lists the contents only for a single level of the directory hierarchy.

ref. https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files

context |> AzureStorage.FileShare.list_directories("testfileshare", "parent-directory")
{:ok,
 %{
   directories: [%{"name" => "dir2"}],
   files: [
     %{"name" => "test.txt", "size" => 13},
     %{"name" => "file1", "size" => 5242880}
   ],
   marker: nil
 }
}

Supported options:

  • :prefix - false Filters the results to return only files and directories whose name begins with the specified prefix.

  • :maxresults - false Specifies the maximum number of files and/or directories to return. If the request does not specify maxresults or specifies a value greater than 5,000, the server will return up to 5,000 items. The default value is 1000.

  • :marker - false A string value that identifies the portion of the list to be returned with the next list operation. The operation returns a marker value within the response body if the list returned was not complete. The marker value may then be used in a subsequent call to request the next set of list items. The default value is "".

  • :timeout - false The timeout parameter is expressed in seconds The default value is 30.