Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f3fc40

Browse files
committedDec 18, 2024
OsOperations.isdir is added
It a correction of base interface - OsOperations. It seems we forgot to add a declaration of the "abstract" method "isdir".
1 parent 69b35cb commit 2f3fc40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎testgres/operations/os_ops.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ def read_binary(self, filename, start_pos):
107107
def isfile(self, remote_file):
108108
raise NotImplementedError()
109109

110+
def isdir(self, dirname):
111+
raise NotImplementedError()
112+
110113
def get_file_size(self, filename):
111114
raise NotImplementedError()
112115

0 commit comments

Comments
 (0)
Please sign in to comment.