瀏覽代碼

Add _determine_file_mode to SwiftRepo, always returns false.

Koen Martens 8 年之前
父節點
當前提交
2753d53afe
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      dulwich/contrib/swift.py

+ 7 - 0
dulwich/contrib/swift.py

@@ -927,6 +927,13 @@ class SwiftRepo(BaseRepo):
         refs = SwiftInfoRefsContainer(self.scon, object_store)
         BaseRepo.__init__(self, object_store, refs)
 
+    def _determine_file_mode(self):
+        """Probe the file-system to determine whether permissions can be trusted.
+
+        :return: True if permissions can be trusted, False otherwise.
+        """
+        return False
+
     def _put_named_file(self, filename, contents):
         """Put an object in a Swift container