+ deleting releases
parent
9b1950dfb2
commit
2053eb431f
7
main.py
7
main.py
|
@ -148,7 +148,12 @@ class Passthrough(Operations):
|
|||
def rmdir(self, path):
|
||||
print("-- rmdir")
|
||||
full_path = self._full_path(path)
|
||||
return os.rmdir(full_path)
|
||||
for r in releases:
|
||||
if r["name"] == path.split("/")[1]:
|
||||
a = requests.delete("https://api.github.com/repos/DomiOwO/" + repo + "/releases/" + str(r["id"]),
|
||||
headers=headers)
|
||||
print(a.content)
|
||||
return 0
|
||||
|
||||
def mkdir(self, path, mode):
|
||||
print("-- mkdir", path)
|
||||
|
|
Loading…
Reference in New Issue