FileMetadata with contents of file for second snapshot This function is slow! Only use it if you really need it. :return: FileMetadata object
(self)
| 111 | |
| 112 | @property |
| 113 | def second_file(self) -> Optional[FileMetadata]: |
| 114 | """ |
| 115 | FileMetadata with contents of file for second snapshot |
| 116 | This function is slow! Only use it if you really need it. |
| 117 | |
| 118 | :return: FileMetadata object |
| 119 | """ |
| 120 | result = core.BNAnalysisMergeConflictGetSecondFile(self._handle) |
| 121 | if result is None: |
| 122 | return None |
| 123 | lazy = util.LazyT(handle=result) |
| 124 | file = FileMetadata(handle=ctypes.cast(lazy.get(ctypes.POINTER(core.BNFileMetadata)), ctypes.POINTER(core.BNFileMetadata))) |
| 125 | core.BNCollaborationFreeLazyT(result) |
| 126 | return file |
| 127 | |
| 128 | @property |
| 129 | def base(self) -> OptionalStringDict: |
nothing calls this directly
no test coverage detected