From d4883c6e4420c86abc43a8109498773e8e303c48 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Sat, 2 Jul 2022 10:32:12 -0400 Subject: [PATCH] Island: Specify "read-only" in IFileRepository.open_file() docstring --- monkey/monkey_island/cc/repository/i_file_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/repository/i_file_repository.py b/monkey/monkey_island/cc/repository/i_file_repository.py index baa52fdda..bedc9cfdb 100644 --- a/monkey/monkey_island/cc/repository/i_file_repository.py +++ b/monkey/monkey_island/cc/repository/i_file_repository.py @@ -27,7 +27,7 @@ class IFileRepository(metaclass=abc.ABCMeta): @abc.abstractmethod def open_file(self, unsafe_file_name: str) -> BinaryIO: """ - Open a file and return a file-like object + Open a file and return a read-only file-like object :param unsafe_file_name: An unsanitized file name that identifies the file to be opened :return: A file-like object providing access to the file's contents