add drop function for datalad project
This commit is contained in:
parent
0f6dfa0fb7
commit
895b8e35ab
1 changed files with 8 additions and 0 deletions
|
|
@ -134,3 +134,11 @@ def import_project(path: str, url: str, owner: Union[str, None]=None, tags: Unio
|
||||||
|
|
||||||
# make this more concrete
|
# make this more concrete
|
||||||
return uuid
|
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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue