pyslk.move

Contents

pyslk.move#

pyslk.move(src_path: str, dst_gns: str, no_overwrite: bool) int#

Move namespaces/files from one parent folder to another; renaming is not possible

Parameters:
  • src_path (str) – namespace or file (full GNS path)

  • dst_gns (str) – new parent namespace

  • no_overwrite (bool) – do not overwrite target file if it exists

Returns:

return resource id of the moved resource

Return type:

int