forked from p15670423/monkey
Island: Add delete_files_by_pattern() to IFileRepository
This commit is contained in:
parent
699f2210f4
commit
d9b55a5c21
|
@ -49,6 +49,17 @@ class IFileRepository(metaclass=abc.ABCMeta):
|
|||
"""
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def delete_files_by_pattern(self, file_name_pattern: str):
|
||||
"""
|
||||
Delete files whose names match a particular pattern
|
||||
|
||||
This method matches relevant files and deletes them using `delete_file()`.
|
||||
|
||||
:param file_name_pattern: A file name pattern that should be matched to delete files
|
||||
"""
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def delete_all_files(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue