equal
deleted
inserted
replaced
211 |
211 |
212 |
212 |
213 def copymode( |
213 def copymode( |
214 src: bytes, |
214 src: bytes, |
215 dst: bytes, |
215 dst: bytes, |
216 mode: Optional[bytes] = None, |
216 mode: Optional[int] = None, |
217 enforcewritable: bool = False, |
217 enforcewritable: bool = False, |
218 ) -> None: |
218 ) -> None: |
219 """Copy the file mode from the file at path src to dst. |
219 """Copy the file mode from the file at path src to dst. |
220 If src doesn't exist, we're using mode instead. If mode is None, we're |
220 If src doesn't exist, we're using mode instead. If mode is None, we're |
221 using umask.""" |
221 using umask.""" |