Skip to main content
show_directories(directory_name=, options=)[source]

Shows information about directories in KiFS. Can be used to show a single directory, or all directories.

Parameters

directory_name (str) –

The KiFS directory name to show. If empty, shows all directories. The default value is ‘’.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

directories (list of str) –

KiFS directory names.

users (list of str) –

User that created each directory for the respective directories in output parameter directories.

creation_times (list of longs) –

The creation time for each directory in milliseconds since epoch, for the respective directories in output parameter directories.

data_usages (list of longs) –

The data usage each directory in bytes, for the respective directories in output parameter directories.

data_limits (list of longs) –

The data limit for each directory in bytes, for the respective directories in output parameter directories.

permissions (list of str) –

Highest level of permission the calling user has for the respective directories in output parameter directories. Will be empty if no permissions. If a user has been granted both read and write permissions, ‘directory_write’ will be listed.

info (dict of str to str) –

Additional information.