FileMetadata with contents of file for base snapshot This function is slow! Only use it if you really need it. :return: FileMetadata object
(self)
| 79 | |
| 80 | @property |
| 81 | def base_file(self) -> Optional[FileMetadata]: |
| 82 | """ |
| 83 | FileMetadata with contents of file for base snapshot |
| 84 | This function is slow! Only use it if you really need it. |
| 85 | |
| 86 | :return: FileMetadata object |
| 87 | """ |
| 88 | result = core.BNAnalysisMergeConflictGetBaseFile(self._handle) |
| 89 | if result is None: |
| 90 | return None |
| 91 | lazy = util.LazyT(handle=result) |
| 92 | file = FileMetadata(handle=ctypes.cast(lazy.get(ctypes.POINTER(core.BNFileMetadata)), ctypes.POINTER(core.BNFileMetadata))) |
| 93 | core.BNCollaborationFreeLazyT(result) |
| 94 | return file |
| 95 | |
| 96 | @property |
| 97 | def first_file(self) -> Optional[FileMetadata]: |
nothing calls this directly
no test coverage detected