Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespub committed Nov 18, 2023
1 parent 7c37c96 commit b6f3db7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/datastore_dav.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ def get_etag(self):
def get_last_modified(self):
return self.statresults.st_mtime

def is_link(self):
return False

def support_etag(self):
return True

Expand Down
3 changes: 3 additions & 0 deletions src/fire/firestore_dav.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ def get_etag(self):
def get_last_modified(self):
return self.statresults.st_mtime

def is_link(self):
return False

def support_etag(self):
return True

Expand Down
8 changes: 8 additions & 0 deletions src/mapper/dav_provider_from_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def get_etag(self):
def get_last_modified(self):
return fs.time.datetime_to_epoch(self.info.modified)

# TODO: check if this is a symlink
def is_link(self):
return False

def support_etag(self):
return True

Expand Down Expand Up @@ -220,6 +224,10 @@ def get_etag(self):
def get_last_modified(self):
return fs.time.datetime_to_epoch(self.info.modified)

# TODO: check if this is a symlink
def is_link(self):
return False

def get_member_names(self):
"""Return list of direct collection member names (utf-8 encoded).
Expand Down

0 comments on commit b6f3db7

Please sign in to comment.