mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Added attr_reader disk_cleanup_size
This commit is contained in:
parent
e7c2efa42f
commit
9a83856a49
@ -6,6 +6,10 @@ module Homebrew
|
||||
module Cleanup
|
||||
@disk_cleanup_size = 0
|
||||
|
||||
class << self
|
||||
attr_reader :disk_cleanup_size
|
||||
end
|
||||
|
||||
module_function
|
||||
|
||||
def cleanup
|
||||
@ -21,10 +25,6 @@ module Homebrew
|
||||
@disk_cleanup_size += path_size
|
||||
end
|
||||
|
||||
def disk_cleanup_size
|
||||
@disk_cleanup_size
|
||||
end
|
||||
|
||||
def unremovable_kegs
|
||||
@unremovable_kegs ||= []
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user