* remove files from local table when they get deleted

meow
Dominika Liberda 2021-12-17 19:19:23 +01:00
parent 5ae7b973de
commit b6a3652474
1 changed files with 2 additions and 1 deletions

View File

@ -159,6 +159,7 @@ class Passthrough(Operations):
a = requests.delete("https://api.github.com/repos/DomiOwO/" + repo + "/releases/assets/" + str(assets[path.split("/")[-2]][path.split("/")[-1]]["id"]),
headers = headers)
print(a.content)
del(assets[path.split('/')[-2]][path.split('/')[-1]])
return 0
def symlink(self, name, target):
@ -236,7 +237,7 @@ class Passthrough(Operations):
data = f["buffer"],
headers = _h)
print(a.content)
return 0
#del(files[fileByFd(fh)])
def fsync(self, path, fdatasync, fh):