aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/util/io
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2021-10-30 19:37:44 +0200
committerThomas Wolf <thomas.wolf@paranor.ch>2021-10-30 23:05:22 +0200
commit3444a3be8c8a567f944fd7b81838e615852d787a (patch)
tree3c5565b2966fff8a8225fbfb3d2c95e9c0dbc254 /org.eclipse.jgit/src/org/eclipse/jgit/util/io
parentc2204bb6835e4e6dc666bb34eaea910fb1484092 (diff)
downloadjgit-3444a3be8c8a567f944fd7b81838e615852d787a.tar.gz
jgit-3444a3be8c8a567f944fd7b81838e615852d787a.zip
Factor out parsing git-style size numbers to StringUtils
Move the code to parse numbers with an optional 'k', 'm', or 'g' suffix from the config file handling to StringUtils. This enables me to re-use it in EGit, which has duplicate code in StorageSizeFieldEditor. As this is generally useful functionality, providing it in the library makes sense. Change-Id: I86e4f5f62e14f99b35726b198ba3bbf1669418d9 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/io')
0 files changed, 0 insertions, 0 deletions