summaryrefslogtreecommitdiff
path: root/Base/res/apps
diff options
context:
space:
mode:
authorMart G <martg_@hotmail.com>2021-01-06 19:40:49 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-08 17:08:48 +0100
commite575d3fd3d4597c32310d6baec224c298cf751f0 (patch)
treeb0c2004a012a3919b45598487f94aeebf3da842a /Base/res/apps
parent56ff0f89af5dc8ba858b1bc4ce401ae242b2ac79 (diff)
downloadserenity-e575d3fd3d4597c32310d6baec224c298cf751f0.zip
Utilities: Add a disk space usage analyzation program.
SpaceAnalyzer: Partially address code review changes. - Use GUI::CommonActions::make_about_action(). - Pass large arguments by const reference instead of by value. - Mark const functions as such. - Add newline at end of SpaceAnalyzer.af - Use full words instead of abbreviations in variable names. - Use application's namespace instead of 'TreeMap'. - move() certain assignments. - Use member declaration initialization. - Initialize TreeNode* member of QueueEntry. - Rewrite find_mount_for_path to return MountInfo* instead. - Rename ITreeMap and ITreeMapNode to TreeMap and TreeMapNode. - Replace ext suffix with rect suffix for rectangles. SpaceAnalyzer: Further address code review and coding style. - Remove get prefix from accessor functions. - Layout algorithm in its own function, with callback. - Remove nullptr comparisons. - Store lstat errors in error_accumulator. - Use Rect::shatter. - Use Rect's orientation based functions. SpaceAnalyzer: Make sort_children_by_area const qualified.
Diffstat (limited to 'Base/res/apps')
-rw-r--r--Base/res/apps/SpaceAnalyzer.af4
1 files changed, 4 insertions, 0 deletions
diff --git a/Base/res/apps/SpaceAnalyzer.af b/Base/res/apps/SpaceAnalyzer.af
new file mode 100644
index 0000000000..387837d7d0
--- /dev/null
+++ b/Base/res/apps/SpaceAnalyzer.af
@@ -0,0 +1,4 @@
+[App]
+Name=SpaceAnalyzer
+Executable=/bin/SpaceAnalyzer
+Category=Utilities