pyslk.list_clone_file#
- pyslk.list_clone_file(resource_path: str | Path | list[str] | list[pathlib.Path] | set[str] | set[pathlib.Path], column_names=['permissions', 'owner', 'group', 'filesize', 'timestamp_mtime', 'timestamp_created', 'timestamp_modified', 'timestamp_storage', 'tape_id', 'filename']) <Mock name='mock.DataFrame' id='139757892385232'> #
Return pandas.DataFrame containing results from search id
Calls
list_clone_file_raw()
and parses the return string into apandas.DataFrame()
. Assumes six output columns of ‘slk_helpers list_clone_file’ having the widths 12, 16, 999 (999 => as wide as necessary).- Parameters:
resource_path (
str
orpath-like
orlist[str]
orlist[Path]
orset[str]
orset[Path]
) – namespace or resourcecolumn_names (
list
) – names of the columns in the pandas.DataFrame
- Returns:
output of ‘slk_helpers list_search’ parsed into a pandas.DataFrame with three columns (permissions, size, filename)
- Return type:
pandas.DataFrame