Commit Graph

7 Commits

Author SHA1 Message Date
Michael Käsemann
b3679f0868 Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC (#1723)
* Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC

- Converted ZCL_ABAPGIT_FOLDER_LOGIC=>PACKAGE_TO_PATH and ZCL_ABAPGIT_FOLDER_LOGIC=>PATH_TO_PACKAGE to instance methods, so they can work with buffered data when constructiing path information. This gives a performance advantage in repos with a depp tree structure and multiple leaf packages
- Adapted all calling code to use an instance of ZCL_ABAPGIT_FOLDER_LOGIC instead of the previously available static methods
- Where applicaple PACKAGE_TO_PATH and PATH_TO_PACKAGE were called in an instance of ZCL_ABAPGIT_FOLDER_LOGIC, which was instanced outside of a processing loop and thus profited from the introduced buffering

* Fixed errors

* Removed obsolete coding artifacts

Removed an obsolete parameter, that accidentally got merged into the code when building the pull request

* Forwarded FOLDER_LOGIC instance to recursed calls

Forwarded ZCL_ABAPGIT_FOLDER_LOGIC instance to subsequent BUILD calls to make use of buffering, until the optimizations in #1725 are in place.
2018-07-31 12:19:29 +02:00
larshp
fa94fa8ea1 unexpected folder structure #1425
treat objects as non existing when outside the starting folder
2018-06-19 08:16:55 +02:00
Christian Guenter
36f257f0bb Dependency injection for ZCL_ABAPGIT_SAP_PACKAGE 2018-06-18 15:37:16 +02:00
Christian Guenter
1a15300927 change assert to exception for invalid folder log. 2018-05-13 13:01:58 +02:00
Gregor Wolf
dcef8b1ad5 Reduced line length 2018-04-30 17:15:54 +02:00
Gregor Wolf
690527a771 Add you might switch to FULL folder logic to error message 2018-04-30 17:09:59 +02:00
larshp
fd82e770bd lcl_folder_logic to global
lcl_folder_logic to global
2018-01-14 13:53:08 +00:00