webish: add preliminary mutable file support: upload, download, listings, JSON, URI, RO-URI. No replace yet.

This commit is contained in:
Brian Warner
2007-11-09 03:54:27 -07:00
parent 63233ecf37
commit 1f22768dc7
5 changed files with 110 additions and 25 deletions

View File

@ -433,6 +433,9 @@ class FileNode:
def get_uri(self):
return self.uri
def is_readonly(self):
return True
def get_size(self):
return IFileURI(self.uri).get_size()