All files / output zcl_abapgit_folder_logic.clas.locals.mjs

66.66% Statements 140/210
25% Branches 10/40
17.64% Functions 6/34
66.66% Lines 140/210

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 2101x 1x                                                             61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 37x 37x 61x 61x         26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x 26x   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                                             21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 21x 3x 3x 3x 18x 21x         20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x 20x   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_folder_logic.clas.locals_imp.abap
class lcl_package_to_path {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_FOLDER_LOGIC-LCL_PACKAGE_TO_PATH';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"GT_BUFFER": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "starting_folder": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-STARTING_FOLDER"}),
  "folder_logic": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-FOLDER_LOGIC"}),
  "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "path": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-PATH"})}, "lcl_package_to_path=>ty_buffer", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TOP","STARTING_FOLDER","FOLDER_LOGIC","PACKAGE"]},"secondary":[]}, "");}, "visibility": "I", "is_constant": " ", "is_class": "X"}};
  static METHODS = {"GET": {"visibility": "U", "parameters": {"RV_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "R", "type_name": "StringType"}, "IV_TOP": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "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"}}},
  "ADD": {"visibility": "U", "parameters": {"IV_TOP": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "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"}, "IV_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}}};
  #gt_buffer;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
    this.gt_buffer = lcl_package_to_path.gt_buffer;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async get(INPUT) {
    return lcl_package_to_path.get(INPUT);
  }
  static async get(INPUT) {
    let rv_path = new abap.types.String({qualifiedName: "STRING"});
    let iv_top = INPUT?.iv_top;
    if (iv_top?.getQualifiedName === undefined || iv_top.getQualifiedName() !== "DEVCLASS") { iv_top = undefined; }
    if (iv_top === undefined) { iv_top = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_top); }
    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 fs_ls_buffer_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "starting_folder": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-STARTING_FOLDER"}),
    "folder_logic": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-FOLDER_LOGIC"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "path": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-PATH"})}, "lcl_package_to_path=>ty_buffer", undefined, {}, {}));
    const unique604 = (await io_dot.get().get_starting_folder());
    const unique605 = (await io_dot.get().get_folder_logic());
    abap.statements.readTable(lcl_package_to_path.gt_buffer,{withTableKey: true,
      assigning: fs_ls_buffer_,
      withKey: (i) => {return abap.compare.eq(i.top, iv_top) && abap.compare.eq(i.starting_folder, unique604) && abap.compare.eq(i.folder_logic, unique605) && abap.compare.eq(i.package, iv_package);},
      withKeyValue: [{key: (i) => {return i.top}, value: iv_top},{key: (i) => {return i.starting_folder}, value: unique604},{key: (i) => {return i.folder_logic}, value: unique605},{key: (i) => {return i.package}, value: iv_package}],
      usesTableLine: false,
      withKeySimple: {"top": iv_top,"starting_folder": unique604,"folder_logic": unique605,"package": iv_package}});
    if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
      rv_path.set(fs_ls_buffer_.get().path);
    }
    return rv_path;
  }
  async add(INPUT) {
    return lcl_package_to_path.add(INPUT);
  }
  static async add(INPUT) {
    let iv_top = INPUT?.iv_top;
    if (iv_top?.getQualifiedName === undefined || iv_top.getQualifiedName() !== "DEVCLASS") { iv_top = undefined; }
    if (iv_top === undefined) { iv_top = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_top); }
    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 iv_path = INPUT?.iv_path;
    if (iv_path?.getQualifiedName === undefined || iv_path.getQualifiedName() !== "STRING") { iv_path = undefined; }
    if (iv_path === undefined) { iv_path = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_path); }
    let ls_buffer = new abap.types.Structure({
    "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "starting_folder": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-STARTING_FOLDER"}),
    "folder_logic": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-FOLDER_LOGIC"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "path": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-PATH"})}, "lcl_package_to_path=>ty_buffer", undefined, {}, {});
    ls_buffer.clear();
    ls_buffer.get().top.set(iv_top);
    ls_buffer.get().starting_folder.set((await io_dot.get().get_starting_folder()));
    ls_buffer.get().folder_logic.set((await io_dot.get().get_folder_logic()));
    ls_buffer.get().package.set(iv_package);
    ls_buffer.get().path.set(iv_path);
    abap.statements.insertInternal({data: ls_buffer, table: lcl_package_to_path.gt_buffer});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_FOLDER_LOGIC-LCL_PACKAGE_TO_PATH'] = lcl_package_to_path;
lcl_package_to_path.gt_buffer = abap.types.TableFactory.construct(new abap.types.Structure({
"top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"starting_folder": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-STARTING_FOLDER"}),
"folder_logic": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-FOLDER_LOGIC"}),
"package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"path": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-PATH"})}, "lcl_package_to_path=>ty_buffer", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TOP","STARTING_FOLDER","FOLDER_LOGIC","PACKAGE"]},"secondary":[]}, "");
lcl_package_to_path.ty_buffer = new abap.types.Structure({
"top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"starting_folder": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-STARTING_FOLDER"}),
"folder_logic": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-FOLDER_LOGIC"}),
"package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"path": new abap.types.String({qualifiedName: "LCL_PACKAGE_TO_PATH=>TY_BUFFER-PATH"})}, "lcl_package_to_path=>ty_buffer", undefined, {}, {});
class lcl_path_to_package {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_FOLDER_LOGIC-LCL_PATH_TO_PACKAGE';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"GT_BUFFER": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
  "starting_folder": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-STARTING_FOLDER"}),
  "folder_logic": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-FOLDER_LOGIC"}),
  "path": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-PATH"}),
  "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "lcl_path_to_package=>ty_buffer", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TOP","STARTING_FOLDER","FOLDER_LOGIC","PATH"]},"secondary":[]}, "");}, "visibility": "I", "is_constant": " ", "is_class": "X"}};
  static METHODS = {"GET": {"visibility": "U", "parameters": {"RV_PACKAGE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "R", "type_name": "CharacterType"}, "IV_TOP": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "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_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
  "ADD": {"visibility": "U", "parameters": {"IV_TOP": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "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_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_PACKAGE": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
  #gt_buffer;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
    this.gt_buffer = lcl_path_to_package.gt_buffer;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async get(INPUT) {
    return lcl_path_to_package.get(INPUT);
  }
  static async get(INPUT) {
    let rv_package = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"});
    let iv_top = INPUT?.iv_top;
    if (iv_top?.getQualifiedName === undefined || iv_top.getQualifiedName() !== "DEVCLASS") { iv_top = undefined; }
    if (iv_top === undefined) { iv_top = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_top); }
    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_path = INPUT?.iv_path;
    if (iv_path?.getQualifiedName === undefined || iv_path.getQualifiedName() !== "STRING") { iv_path = undefined; }
    if (iv_path === undefined) { iv_path = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_path); }
    let fs_ls_buffer_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "starting_folder": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-STARTING_FOLDER"}),
    "folder_logic": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-FOLDER_LOGIC"}),
    "path": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-PATH"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "lcl_path_to_package=>ty_buffer", undefined, {}, {}));
    const unique606 = (await io_dot.get().get_starting_folder());
    const unique607 = (await io_dot.get().get_folder_logic());
    abap.statements.readTable(lcl_path_to_package.gt_buffer,{withTableKey: true,
      assigning: fs_ls_buffer_,
      withKey: (i) => {return abap.compare.eq(i.top, iv_top) && abap.compare.eq(i.starting_folder, unique606) && abap.compare.eq(i.folder_logic, unique607) && abap.compare.eq(i.path, iv_path);},
      withKeyValue: [{key: (i) => {return i.top}, value: iv_top},{key: (i) => {return i.starting_folder}, value: unique606},{key: (i) => {return i.folder_logic}, value: unique607},{key: (i) => {return i.path}, value: iv_path}],
      usesTableLine: false,
      withKeySimple: {"top": iv_top,"starting_folder": unique606,"folder_logic": unique607,"path": iv_path}});
    if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
      rv_package.set(fs_ls_buffer_.get().package);
      return rv_package;
    }
    return rv_package;
  }
  async add(INPUT) {
    return lcl_path_to_package.add(INPUT);
  }
  static async add(INPUT) {
    let iv_top = INPUT?.iv_top;
    if (iv_top?.getQualifiedName === undefined || iv_top.getQualifiedName() !== "DEVCLASS") { iv_top = undefined; }
    if (iv_top === undefined) { iv_top = new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}).set(INPUT.iv_top); }
    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_path = INPUT?.iv_path;
    if (iv_path?.getQualifiedName === undefined || iv_path.getQualifiedName() !== "STRING") { iv_path = undefined; }
    if (iv_path === undefined) { iv_path = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_path); }
    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_buffer = new abap.types.Structure({
    "top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "starting_folder": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-STARTING_FOLDER"}),
    "folder_logic": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-FOLDER_LOGIC"}),
    "path": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-PATH"}),
    "package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "lcl_path_to_package=>ty_buffer", undefined, {}, {});
    ls_buffer.clear();
    ls_buffer.get().top.set(iv_top);
    ls_buffer.get().starting_folder.set((await io_dot.get().get_starting_folder()));
    ls_buffer.get().folder_logic.set((await io_dot.get().get_folder_logic()));
    ls_buffer.get().path.set(iv_path);
    ls_buffer.get().package.set(iv_package);
    abap.statements.insertInternal({data: ls_buffer, table: lcl_path_to_package.gt_buffer});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_FOLDER_LOGIC-LCL_PATH_TO_PACKAGE'] = lcl_path_to_package;
lcl_path_to_package.gt_buffer = abap.types.TableFactory.construct(new abap.types.Structure({
"top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"starting_folder": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-STARTING_FOLDER"}),
"folder_logic": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-FOLDER_LOGIC"}),
"path": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-PATH"}),
"package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "lcl_path_to_package=>ty_buffer", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"HASHED","isUnique":true,"keyFields":["TOP","STARTING_FOLDER","FOLDER_LOGIC","PATH"]},"secondary":[]}, "");
lcl_path_to_package.ty_buffer = new abap.types.Structure({
"top": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
"starting_folder": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-STARTING_FOLDER"}),
"folder_logic": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-FOLDER_LOGIC"}),
"path": new abap.types.String({qualifiedName: "LCL_PATH_TO_PACKAGE=>TY_BUFFER-PATH"}),
"package": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"})}, "lcl_path_to_package=>ty_buffer", undefined, {}, {});
export {lcl_package_to_path, lcl_path_to_package};