All files / output zcl_abapgit_flow_git.clas.mjs

76.31% Statements 406/532
62.74% Branches 32/51
30.76% Functions 12/39
76.31% Lines 406/532

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 5321x 1x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x 1x         1x       1x                                                             1x 1x         1x         1x                                                             1x 1x             1x       1x     1x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x           7x       7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 8x 8x 8x 7x 7x 7x 6x 6x 6x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 4x 4x 4x   4x 4x 4x 4x 4x 4x 4x 4x 7x 1x     1x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x         4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 3x 3x 3x 3x 4x 4x 1x     1x 10x 10x 10x           10x 10x 10x           10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 4x 4x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 10x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 8x 8x 8x     8x 14x 6x 6x 6x 6x 6x 6x 6x 6x 10x 10x 10x 4x 4x 4x 6x 6x 6x 6x 10x 2x 2x 2x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x     4x 10x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 6x 10x 1x 1x 1x
await import("./zcl_abapgit_flow_git.clas.locals.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_flow_git.clas.abap
class zcl_abapgit_flow_git {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_FLOW_GIT';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"MAP_FILES_TO_OBJECTS": {"visibility": "I", "parameters": {"RT_CHANGED_OBJECTS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts");}, "is_optional": " ", "parm_kind": "R", "type_name": "TableType"}, "IT_FILES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
  "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}, "IO_DOT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_DOT_ABAPGIT", RTTIName: "\\CLASS=ZCL_ABAPGIT_DOT_ABAPGIT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "IV_PACKAGE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "FIND_CHANGES_IN_GIT": {"visibility": "U", "parameters": {"IV_URL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IO_DOT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_DOT_ABAPGIT", RTTIName: "\\CLASS=ZCL_ABAPGIT_DOT_ABAPGIT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "IV_PACKAGE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "IT_BRANCHES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
  "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
  "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"name_key","type":"SORTED","isUnique":false,"keyFields":["NAME"]}]}, "zif_abapgit_git_definitions=>ty_git_branch_list_tt");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}, "ET_MAIN_EXPANDED": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_EXPANDED-PATH"}),
  "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_EXPANDED-NAME"}),
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "chmod": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_chmod"})}, "zif_abapgit_git_definitions=>ty_expanded", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"path_name","type":"SORTED","isUnique":false,"keyFields":["PATH","NAME"]}]}, "zif_abapgit_git_definitions=>ty_expanded_tt");}, "is_optional": " ", "parm_kind": "E", "type_name": "TableType"}, "CT_FEATURES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "repo": new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
  "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
  "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
  "branch": new abap.types.Structure({
  "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
  "pr": new abap.types.Structure({
  "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
  "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
  "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
  "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
  "transport": new abap.types.Structure({
  "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
  "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
  "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
  "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_features");}, "is_optional": " ", "parm_kind": "C", "type_name": "TableType"}}},
  "FIND_UP_TO_DATE": {"visibility": "U", "parameters": {"IT_BRANCHES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
  "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
  "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"name_key","type":"SORTED","isUnique":false,"keyFields":["NAME"]}]}, "zif_abapgit_git_definitions=>ty_git_branch_list_tt");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}, "IT_OBJECTS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
  "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
  "adler32": new abap.types.Hex({length: 4}),
  "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"sha","type":"SORTED","isUnique":false,"keyFields":["SHA1"]},{"name":"type","type":"SORTED","isUnique":false,"keyFields":["TYPE","SHA1"]}]}, "zif_abapgit_definitions=>ty_objects_tt");}, "is_optional": " ", "parm_kind": "I", "type_name": "TableType"}, "CT_FEATURES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "repo": new abap.types.Structure({
  "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
  "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
  "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
  "branch": new abap.types.Structure({
  "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
  "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
  "pr": new abap.types.Structure({
  "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
  "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
  "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
  "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
  "transport": new abap.types.Structure({
  "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
  "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
  "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
  "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
  "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_features");}, "is_optional": " ", "parm_kind": "C", "type_name": "TableType"}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async find_changes_in_git(INPUT) {
    return zcl_abapgit_flow_git.find_changes_in_git(INPUT);
  }
  static async find_changes_in_git(INPUT) {
    let iv_url = INPUT?.iv_url;
    if (iv_url?.getQualifiedName === undefined || iv_url.getQualifiedName() !== "STRING") { iv_url = undefined; }
    if (iv_url === undefined) { iv_url = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_url); }
    let io_dot = INPUT?.io_dot;
    if (io_dot?.getQualifiedName === undefined || io_dot.getQualifiedName() !== "ZCL_ABAPGIT_DOT_ABAPGIT") { io_dot = undefined; }
    if (io_dot === undefined) { io_dot = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_DOT_ABAPGIT", RTTIName: "\\CLASS=ZCL_ABAPGIT_DOT_ABAPGIT"}).set(INPUT.io_dot); }
    let iv_package = INPUT?.iv_package;
    if (iv_package?.getQualifiedName === undefined || iv_package.getQualifiedName() !== "DEVCLASS") { iv_package = undefined; }
    if (iv_package === undefined) { iv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_package); }
    let it_branches = INPUT?.it_branches;
    if (it_branches?.getQualifiedName === undefined || it_branches.getQualifiedName() !== "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH_LIST_TT") { it_branches = undefined; }
    if (it_branches === undefined) { it_branches = abap.types.TableFactory.construct(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
    "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
    "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"name_key","type":"SORTED","isUnique":false,"keyFields":["NAME"]}]}, "zif_abapgit_git_definitions=>ty_git_branch_list_tt").set(INPUT.it_branches); }
    let et_main_expanded = INPUT?.et_main_expanded || abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_EXPANDED-PATH"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_EXPANDED-NAME"}),
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "chmod": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_chmod"})}, "zif_abapgit_git_definitions=>ty_expanded", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"path_name","type":"SORTED","isUnique":false,"keyFields":["PATH","NAME"]}]}, "zif_abapgit_git_definitions=>ty_expanded_tt");
    let ct_features = abap.types.TableFactory.construct(new abap.types.Structure({
    "repo": new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
    "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
    "branch": new abap.types.Structure({
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
    "pr": new abap.types.Structure({
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
    "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
    "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
    "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
    "transport": new abap.types.Structure({
    "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
    "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
    "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_features");
    if (INPUT && INPUT.ct_features) {ct_features = INPUT.ct_features;}
    let ls_branch = new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
    "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
    "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {});
    let lt_sha1 = abap.types.TableFactory.construct(new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_git_definitions=>ty_sha1_tt");
    let lt_objects = abap.types.TableFactory.construct(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
    "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
    "adler32": new abap.types.Hex({length: 4}),
    "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"sha","type":"SORTED","isUnique":false,"keyFields":["SHA1"]},{"name":"type","type":"SORTED","isUnique":false,"keyFields":["TYPE","SHA1"]}]}, "zif_abapgit_definitions=>ty_objects_tt");
    let lv_starting_folder = new abap.types.String({qualifiedName: "STRING"});
    let ls_main = new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
    "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
    "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {});
    let li_find = new abap.types.ABAPObject({qualifiedName: "LIF_FIND_CHANGES", RTTIName: "\\CLASS-POOL=ZCL_ABAPGIT_FLOW_GIT\\INTERFACE=LIF_FIND_CHANGES"});
    let lv_previous = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});
    let lt_commits = abap.types.TableFactory.construct(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
    "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
    "adler32": new abap.types.Hex({length: 4}),
    "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"sha","type":"SORTED","isUnique":false,"keyFields":["SHA1"]},{"name":"type","type":"SORTED","isUnique":false,"keyFields":["TYPE","SHA1"]}]}, "zif_abapgit_definitions=>ty_objects_tt");
    let fs_ls_feature_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "repo": new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
    "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
    "branch": new abap.types.Structure({
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
    "pr": new abap.types.Structure({
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
    "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
    "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
    "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
    "transport": new abap.types.Structure({
    "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
    "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
    "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}));
    let fs_ls_commit_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
    "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
    "adler32": new abap.types.Hex({length: 4}),
    "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}));
    et_main_expanded.clear();
    for await (const unique951 of abap.statements.loop(it_branches,{where: async (I) => {return abap.compare.eq(I.is_head, abap.builtin.abap_false);},topEquals: {"is_head": abap.builtin.abap_false}})) {
      ls_branch.set(unique951);
      abap.statements.append({source: ls_branch.get().sha1, target: lt_sha1});
    }
    lt_objects.set((await (await abap.Classes['ZCL_ABAPGIT_GIT_FACTORY'].get_v2_porcelain()).get().zif_abapgit_gitv2_porcelain$list_no_blobs_multi({iv_url: iv_url, it_sha1: lt_sha1})));
    lt_commits.set((await (await abap.Classes['ZCL_ABAPGIT_GIT_FACTORY'].get_v2_porcelain()).get().zif_abapgit_gitv2_porcelain$commits_last_year({iv_url: iv_url, it_sha1: lt_sha1})));
    for await (const unique952 of abap.statements.loop(lt_commits)) {
      fs_ls_commit_.assign(unique952);
      abap.statements.insertInternal({data: fs_ls_commit_, table: lt_objects});
    }
    lv_starting_folder.set(abap.operators.concat((await io_dot.get().get_starting_folder()),abap.CharacterFactory.get(1, '*')));
    abap.statements.readTable(it_branches,{into: ls_main,
      withKey: (i) => {return abap.compare.eq(i.display_name, abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main);},
      withKeyValue: [{key: (i) => {return i.display_name}, value: abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main}],
      usesTableLine: false,
      withKeySimple: {"display_name": abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main}});
    abap.statements.assert(abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0)));
    et_main_expanded.set((await abap.Classes['ZCL_ABAPGIT_GIT_PORCELAIN'].full_tree({it_objects: lt_objects, iv_parent: ls_main.get().sha1})));
    await abap.statements.deleteInternal(et_main_expanded,{where: async (I) => {return abap.compare.np(I.path, lv_starting_folder);}});
    await this.find_up_to_date({it_branches: it_branches, it_objects: lt_objects, ct_features: ct_features});
    for await (const unique953 of abap.statements.loop(ct_features,{where: async (I) => {return abap.compare.ne(I.branch.get().display_name, abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main);}})) {
      fs_ls_feature_.assign(unique953);
      if (abap.compare.initial(lv_previous) || abap.compare.ne(lv_previous, fs_ls_feature_.get().repo.get().key)) {
        if (abap.compare.eq(((await (await abap.Classes['ZCL_ABAPGIT_FLOW_EXIT'].get_instance()).get().zif_abapgit_flow_exit$get_settings({iv_repo_key: fs_ls_feature_.get().repo.get().key}))).get().allow_not_up_to_date, abap.builtin.abap_true)) {
          li_find.set(await (new abap.Classes['CLAS-ZCL_ABAPGIT_FLOW_GIT-LCL_FIND_CHANGES_NEW']()).constructor_({it_objects: lt_objects}));
        } else {
          li_find.set(await (new abap.Classes['CLAS-ZCL_ABAPGIT_FLOW_GIT-LCL_FIND_CHANGES']()).constructor_({it_objects: lt_objects}));
        }
        lv_previous.set(fs_ls_feature_.get().repo.get().key);
      }
      fs_ls_feature_.get().changed_files.set((await li_find.get().lif_find_changes$find_changes({iv_main: ls_main.get().sha1, iv_branch: fs_ls_feature_.get().branch.get().sha1, iv_first_commit: fs_ls_feature_.get().branch.get().first_commit, iv_starting_folder: lv_starting_folder})));
      fs_ls_feature_.get().changed_objects.set((await this.map_files_to_objects({io_dot: io_dot, iv_package: iv_package, it_files: fs_ls_feature_.get().changed_files})));
    }
  }
  async map_files_to_objects(INPUT) {
    return zcl_abapgit_flow_git.map_files_to_objects(INPUT);
  }
  static async map_files_to_objects(INPUT) {
    let rt_changed_objects = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts");
    let it_files = INPUT?.it_files;
    if (it_files?.getQualifiedName === undefined || it_files.getQualifiedName() !== "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME_TT") { it_files = undefined; }
    if (it_files === undefined) { it_files = abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt").set(INPUT.it_files); }
    let io_dot = INPUT?.io_dot;
    if (io_dot?.getQualifiedName === undefined || io_dot.getQualifiedName() !== "ZCL_ABAPGIT_DOT_ABAPGIT") { io_dot = undefined; }
    if (io_dot === undefined) { io_dot = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_DOT_ABAPGIT", RTTIName: "\\CLASS=ZCL_ABAPGIT_DOT_ABAPGIT"}).set(INPUT.io_dot); }
    let iv_package = INPUT?.iv_package;
    if (iv_package?.getQualifiedName === undefined || iv_package.getQualifiedName() !== "DEVCLASS") { iv_package = undefined; }
    if (iv_package === undefined) { iv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_package); }
    let ls_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {});
    let fs_ls_file_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}));
    for await (const unique954 of abap.statements.loop(it_files)) {
      fs_ls_file_.assign(unique954);
      await abap.Classes['ZCL_ABAPGIT_FILENAME_LOGIC'].file_to_object({iv_filename: fs_ls_file_.get().filename, iv_path: fs_ls_file_.get().path, iv_devclass: iv_package, io_dot: io_dot, es_item: ls_item});
      abap.statements.insertInternal({data: ls_item, table: rt_changed_objects});
    }
    return rt_changed_objects;
  }
  async find_up_to_date(INPUT) {
    return zcl_abapgit_flow_git.find_up_to_date(INPUT);
  }
  static async find_up_to_date(INPUT) {
    let it_branches = INPUT?.it_branches;
    if (it_branches?.getQualifiedName === undefined || it_branches.getQualifiedName() !== "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH_LIST_TT") { it_branches = undefined; }
    if (it_branches === undefined) { it_branches = abap.types.TableFactory.construct(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
    "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
    "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"name_key","type":"SORTED","isUnique":false,"keyFields":["NAME"]}]}, "zif_abapgit_git_definitions=>ty_git_branch_list_tt").set(INPUT.it_branches); }
    let it_objects = INPUT?.it_objects;
    if (it_objects?.getQualifiedName === undefined || it_objects.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECTS_TT") { it_objects = undefined; }
    if (it_objects === undefined) { it_objects = abap.types.TableFactory.construct(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
    "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
    "adler32": new abap.types.Hex({length: 4}),
    "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"sha","type":"SORTED","isUnique":false,"keyFields":["SHA1"]},{"name":"type","type":"SORTED","isUnique":false,"keyFields":["TYPE","SHA1"]}]}, "zif_abapgit_definitions=>ty_objects_tt").set(INPUT.it_objects); }
    let ct_features = abap.types.TableFactory.construct(new abap.types.Structure({
    "repo": new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
    "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
    "branch": new abap.types.Structure({
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
    "pr": new abap.types.Structure({
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
    "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
    "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
    "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
    "transport": new abap.types.Structure({
    "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
    "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
    "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_features");
    if (INPUT && INPUT.ct_features) {ct_features = INPUT.ct_features;}
    let ls_main = new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-NAME"}),
    "type": new abap.types.Character(2, {"qualifiedName":"zif_abapgit_git_definitions=>ty_git_branch_type"}),
    "is_head": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GIT_DEFINITIONS=>TY_GIT_BRANCH-DISPLAY_NAME"})}, "zif_abapgit_git_definitions=>ty_git_branch", undefined, {}, {});
    let lv_current = new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"});
    let lo_visit = new abap.types.ABAPObject({qualifiedName: "LCL_SHA1_STACK", RTTIName: "\\CLASS-POOL=ZCL_ABAPGIT_FLOW_GIT\\CLASS=LCL_SHA1_STACK"});
    let ls_commit = new abap.types.Structure({
    "tree": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "parent": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "parent2": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "author": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GIT_PACK=>TY_COMMIT-AUTHOR"}),
    "committer": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GIT_PACK=>TY_COMMIT-COMMITTER"}),
    "gpgsig": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GIT_PACK=>TY_COMMIT-GPGSIG"}),
    "body": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GIT_PACK=>TY_COMMIT-BODY"})}, "zcl_abapgit_git_pack=>ty_commit", undefined, {}, {});
    let lt_main_reachable = abap.types.TableFactory.construct(new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TABLE_LINE"]},"secondary":[]}, "");
    let fs_ls_branch_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "repo": new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-REPO-NAME"}),
    "key": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "zif_abapgit_flow_logic=>ty_feature-repo", undefined, {}, {}),
    "branch": new abap.types.Structure({
    "display_name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_BRANCH-DISPLAY_NAME"}),
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "up_to_date": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "first_commit": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_branch", undefined, {}, {}),
    "pr": new abap.types.Structure({
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-TITLE"}),
    "url": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-URL"}),
    "number": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-PR-NUMBER"}),
    "draft": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_flow_logic=>ty_feature-pr", undefined, {}, {}),
    "transport": new abap.types.Structure({
    "trkorr": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "title": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_FEATURE-TRANSPORT-TITLE"})}, "zif_abapgit_flow_logic=>ty_feature-transport", undefined, {}, {}),
    "full_match": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changed_files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_FLOW_LOGIC=>TY_PATH_NAME-FILENAME"}),
    "remote_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "local_sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"})}, "zif_abapgit_flow_logic=>ty_path_name", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["PATH","FILENAME"]},"secondary":[]}, "zif_abapgit_flow_logic=>ty_path_name_tt"),
    "changed_objects": abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"SORTED","isUnique":true,"keyFields":["OBJ_TYPE","OBJ_NAME"]},"secondary":[]}, "zif_abapgit_definitions=>ty_items_ts")}, "zif_abapgit_flow_logic=>ty_feature", undefined, {}, {}));
    let fs_ls_commit_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "sha1": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_git_definitions=>ty_sha1"}),
    "type": new abap.types.Character(6, {"qualifiedName":"zif_abapgit_git_definitions=>ty_type"}),
    "data": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-DATA"}),
    "adler32": new abap.types.Hex({length: 4}),
    "index": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_OBJECT-INDEX"})}, "zif_abapgit_definitions=>ty_object", undefined, {}, {}));
    if (abap.compare.eq(abap.builtin.lines({val: it_branches}), abap.IntegerFactory.get(1))) {
      return;
    }
    abap.statements.readTable(it_branches,{into: ls_main,
      withKey: (i) => {return abap.compare.eq(i.display_name, abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main);},
      withKeyValue: [{key: (i) => {return i.display_name}, value: abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main}],
      usesTableLine: false,
      withKeySimple: {"display_name": abap.Classes['ZIF_ABAPGIT_FLOW_LOGIC'].zif_abapgit_flow_logic$c_main}});
    abap.statements.assert(abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0)));
    lo_visit.set(await (new abap.Classes['CLAS-ZCL_ABAPGIT_FLOW_GIT-LCL_SHA1_STACK']()).constructor_());
    await (await lo_visit.get().clear()).get().push({iv_sha1: ls_main.get().sha1});
    const indexBackup1 = abap.builtin.sy.get().index.get();
    let unique955 = 1;
    while (abap.compare.gt((await lo_visit.get().size()), abap.IntegerFactory.get(0))) {
      abap.builtin.sy.get().index.set(unique955++);
      lv_current.set((await lo_visit.get().pop()));
      abap.statements.insertInternal({data: lv_current, table: lt_main_reachable});
      abap.statements.readTable(it_objects,{keyName: "sha",
        withTableKey: true,
        assigning: fs_ls_commit_,
        withKey: (i) => {return abap.compare.eq(i.sha1, lv_current);},
        withKeyValue: [{key: (i) => {return i.sha1}, value: lv_current}],
        usesTableLine: false,
        withKeySimple: {"sha1": lv_current}});
      if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
        ls_commit.set((await abap.Classes['ZCL_ABAPGIT_GIT_PACK'].decode_commit({iv_data: fs_ls_commit_.get().data})));
        await lo_visit.get().push({iv_sha1: ls_commit.get().parent});
        if (abap.compare.initial(ls_commit.get().parent2) === false) {
          await lo_visit.get().push({iv_sha1: ls_commit.get().parent2});
        }
      }
    }
    abap.builtin.sy.get().index.set(indexBackup1);
    for await (const unique956 of abap.statements.loop(ct_features)) {
      fs_ls_branch_.assign(unique956);
      fs_ls_branch_.get().branch.get().up_to_date.set(abap.builtin.abap_undefined);
      await (await lo_visit.get().clear()).get().push({iv_sha1: fs_ls_branch_.get().branch.get().sha1});
      const indexBackup2 = abap.builtin.sy.get().index.get();
      let unique957 = 1;
      while (abap.compare.gt((await lo_visit.get().size()), abap.IntegerFactory.get(0))) {
        abap.builtin.sy.get().index.set(unique957++);
        lv_current.set((await lo_visit.get().pop()));
        if (abap.compare.eq(lv_current, ls_main.get().sha1)) {
          fs_ls_branch_.get().branch.get().up_to_date.set(abap.builtin.abap_true);
          break;
        }
        abap.statements.readTable(lt_main_reachable,{withKey: (i) => {return abap.compare.eq(i.table_line, lv_current);},
          withKeyValue: [{key: (i) => {return i.table_line}, value: lv_current}],
          usesTableLine: true,
          withKeySimple: {"table_line": lv_current}});
        if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
          fs_ls_branch_.get().branch.get().up_to_date.set(abap.builtin.abap_false);
          break;
        }
        abap.statements.readTable(it_objects,{keyName: "sha",
          withTableKey: true,
          assigning: fs_ls_commit_,
          withKey: (i) => {return abap.compare.eq(i.sha1, lv_current);},
          withKeyValue: [{key: (i) => {return i.sha1}, value: lv_current}],
          usesTableLine: false,
          withKeySimple: {"sha1": lv_current}});
        if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
          ls_commit.set((await abap.Classes['ZCL_ABAPGIT_GIT_PACK'].decode_commit({iv_data: fs_ls_commit_.get().data})));
          await lo_visit.get().push({iv_sha1: ls_commit.get().parent});
          if (abap.compare.initial(ls_commit.get().parent2) === false) {
            await lo_visit.get().push({iv_sha1: ls_commit.get().parent2});
          }
        }
      }
      abap.builtin.sy.get().index.set(indexBackup2);
      await (await lo_visit.get().clear()).get().push({iv_sha1: fs_ls_branch_.get().branch.get().sha1});
      const indexBackup3 = abap.builtin.sy.get().index.get();
      let unique958 = 1;
      while (abap.compare.gt((await lo_visit.get().size()), abap.IntegerFactory.get(0))) {
        abap.builtin.sy.get().index.set(unique958++);
        lv_current.set((await lo_visit.get().pop()));
        abap.statements.readTable(it_objects,{keyName: "sha",
          withTableKey: true,
          assigning: fs_ls_commit_,
          withKey: (i) => {return abap.compare.eq(i.sha1, lv_current);},
          withKeyValue: [{key: (i) => {return i.sha1}, value: lv_current}],
          usesTableLine: false,
          withKeySimple: {"sha1": lv_current}});
        if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
          ls_commit.set((await abap.Classes['ZCL_ABAPGIT_GIT_PACK'].decode_commit({iv_data: fs_ls_commit_.get().data})));
          await lo_visit.get().push({iv_sha1: ls_commit.get().parent});
          if (abap.compare.initial(ls_commit.get().parent2)) {
            abap.statements.readTable(lt_main_reachable,{withKey: (i) => {return abap.compare.eq(i.table_line, ls_commit.get().parent);},
              withKeyValue: [{key: (i) => {return i.table_line}, value: ls_commit.get().parent}],
              usesTableLine: true,
              withKeySimple: {"table_line": ls_commit.get().parent}});
            if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
              fs_ls_branch_.get().branch.get().first_commit.set(lv_current);
              break;
            }
          }
        }
      }
      abap.builtin.sy.get().index.set(indexBackup3);
    }
  }
}
abap.Classes['ZCL_ABAPGIT_FLOW_GIT'] = zcl_abapgit_flow_git;
export {zcl_abapgit_flow_git};