* remove files from local table when they get deleted
parent
5ae7b973de
commit
b6a3652474
3
main.py
3
main.py
|
@ -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"]),
|
a = requests.delete("https://api.github.com/repos/DomiOwO/" + repo + "/releases/assets/" + str(assets[path.split("/")[-2]][path.split("/")[-1]]["id"]),
|
||||||
headers = headers)
|
headers = headers)
|
||||||
print(a.content)
|
print(a.content)
|
||||||
|
del(assets[path.split('/')[-2]][path.split('/')[-1]])
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def symlink(self, name, target):
|
def symlink(self, name, target):
|
||||||
|
@ -236,7 +237,7 @@ class Passthrough(Operations):
|
||||||
data = f["buffer"],
|
data = f["buffer"],
|
||||||
headers = _h)
|
headers = _h)
|
||||||
print(a.content)
|
print(a.content)
|
||||||
|
return 0
|
||||||
#del(files[fileByFd(fh)])
|
#del(files[fileByFd(fh)])
|
||||||
|
|
||||||
def fsync(self, path, fdatasync, fh):
|
def fsync(self, path, fdatasync, fh):
|
||||||
|
|
Loading…
Reference in New Issue