FileMetadata with contents of file for first snapshot This function is slow! Only use it if you really need it. :return: FileMetadata object
(self)
| 95 | |
| 96 | @property |
| 97 | def first_file(self) -> Optional[FileMetadata]: |
| 98 | """ |
| 99 | FileMetadata with contents of file for first snapshot |
| 100 | This function is slow! Only use it if you really need it. |
| 101 | |
| 102 | :return: FileMetadata object |
| 103 | """ |
| 104 | result = core.BNAnalysisMergeConflictGetFirstFile(self._handle) |
| 105 | if result is None: |
| 106 | return None |
| 107 | lazy = util.LazyT(handle=result) |
| 108 | file = FileMetadata(handle=ctypes.cast(lazy.get(ctypes.POINTER(core.BNFileMetadata)), ctypes.POINTER(core.BNFileMetadata))) |
| 109 | core.BNCollaborationFreeLazyT(result) |
| 110 | return file |
| 111 | |
| 112 | @property |
| 113 | def second_file(self) -> Optional[FileMetadata]: |
nothing calls this directly
no test coverage detected