Get a list of all child snapshots of the snapshot (read-only)
(self)
| 188 | |
| 189 | @property |
| 190 | def children(self) -> List['Snapshot']: |
| 191 | """Get a list of all child snapshots of the snapshot (read-only)""" |
| 192 | count = ctypes.c_ulonglong(0) |
| 193 | children = core.BNGetSnapshotChildren(self.handle, count) |
| 194 | |
| 195 | result = [] |
| 196 | try: |
| 197 | for i in range(0, count.value): |
| 198 | handle = core.BNNewSnapshotReference(children[i]) |
| 199 | result.append(Snapshot(handle=handle)) |
| 200 | return result |
| 201 | finally: |
| 202 | core.BNFreeSnapshotList(children, count) |
| 203 | |
| 204 | @property |
| 205 | def file_contents(self) -> databuffer.DataBuffer: |