This repository was archived by the owner on Aug 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "jetbrains_java_error " : {
2+ "jetbrains_java_error_heap_dump " : {
33 "application" : " JetBrains" ,
44 "category" : " IDE" ,
55 "entity_category" : " crash log" ,
6- "description" : " Java error log of JetBrains tools. Can be several gigabytes." ,
6+ "description" : " Java error heap dump of JetBrains tools. Can be several gigabytes." ,
77 "delete" : {
88 "type" : " file" ,
99 "location" : " ~/java_error_in_*.hprof"
1010 },
1111 "active" : true
1212 },
13+ "jetbrains_java_error_logs" : {
14+ "application" : " JetBrains" ,
15+ "category" : " IDE" ,
16+ "entity_category" : " crash log" ,
17+ "description" : " Java error logs for various JetBrains tools." ,
18+ "delete" : {
19+ "type" : " file" ,
20+ "location" : " ~/java_error_in_*.log"
21+ },
22+ "active" : true
23+ },
1324 "gradio_temporary_files" : {
1425 "application" : " Gradio" ,
1526 "category" : " AI" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,17 @@ function Get-Entities {
3434 switch ($_.Value.delete.type )
3535 {
3636 " file" {
37- if (Test-Path - Path $location - PathType Leaf) {
37+ if ($location -like ' *[*]*' ) {
38+ $matchingFiles = Get-ChildItem - Path $location - File
39+ foreach ($file in $matchingFiles ) {
40+ $fileItem = @ {}
41+ $fileItem.location = $file.FullName
42+ $fileItem.size = $file.Length
43+ $fileItem.rule = $name
44+ $files.Add ($fileItem )
45+ $sizeCounter += $fileItem.size
46+ }
47+ } elseif (Test-Path - Path $location - PathType Leaf) {
3848 $fileItem = @ {}
3949 $fileItem.location = $location
4050 $file = Get-Item $location
You can’t perform that action at this time.
0 commit comments