diff --git a/corrlib/main.py b/corrlib/main.py index defe03a..460ed8b 100644 --- a/corrlib/main.py +++ b/corrlib/main.py @@ -134,3 +134,11 @@ def import_project(path: str, url: str, owner: Union[str, None]=None, tags: Unio # make this more concrete return uuid + + +def drop_project_data(path: str, uuid: str, path_in_project: str = ""): + """ + Drop (parts of) a prject to free up diskspace + """ + dl.drop(path + "/projects/" + uuid + "/" + path_in_project) +