Island: Specify "read-only" in IFileRepository.open_file() docstring

This commit is contained in:
Mike Salvatore 2022-07-02 10:32:12 -04:00
parent e3b5e0c01a
commit d4883c6e44
1 changed files with 1 additions and 1 deletions

View File

@ -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