|
|
@ -79,13 +79,18 @@ class StandardNotesFS(LoggingMixIn, Operations): |
|
|
|
|
|
|
|
|
|
|
|
return len(data) |
|
|
|
return len(data) |
|
|
|
|
|
|
|
|
|
|
|
def chmod(self, path, mode): |
|
|
|
def create(self, path, mode): |
|
|
|
|
|
|
|
path_parts = path.split('/') |
|
|
|
|
|
|
|
note_name = path_parts[1] |
|
|
|
|
|
|
|
now = datetime.utcnow().isoformat()[:-3] + 'Z' # hack |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.item_manager.createNote(note_name, now) |
|
|
|
return 0 |
|
|
|
return 0 |
|
|
|
|
|
|
|
|
|
|
|
def chown(self, path, uid, gid): |
|
|
|
def chmod(self, path, mode): |
|
|
|
return 0 |
|
|
|
return 0 |
|
|
|
|
|
|
|
|
|
|
|
def create(self, path, mode): |
|
|
|
def chown(self, path, uid, gid): |
|
|
|
return 0 |
|
|
|
return 0 |
|
|
|
|
|
|
|
|
|
|
|
def destroy(self, path): |
|
|
|
def destroy(self, path): |
|
|
|