File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,15 @@ function M.is_proxy_on_waiting_list(name)
166
166
return proxy_wait_list [name ] ~= nil
167
167
end
168
168
169
+ --- Check if the mount is available for proxy
170
+ --- @param name hash
171
+ --- @return boolean
172
+ function M .is_mount_available (name )
173
+ local proxy = proxies [name ]
174
+ return proxy and proxy .enough_resources and
175
+ (mount_loader .is_mount_loaded (proxy .mount_key ) or proxy .mount_key == NOT_EXCLUDED or mount_loader .is_old_mount_available (proxy .mount_key ))
176
+ end
177
+
169
178
--- Return proxy info
170
179
--- @param name hash
171
180
--- @return atlas_proxy_data
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ input_method = HiddenInputField
13
13
14
14
[project]
15
15
title = AtlasLoader
16
- version = 1.1.3
16
+ version = 1.1.4
17
17
dependencies#0 = https://github.com/andsve/dirtylarry/archive/refs/heads/master.zip
18
18
19
19
[library]
You can’t perform that action at this time.
0 commit comments