Last active
April 10, 2018 08:12
-
-
Save cben/c582b51e8eb14528fa4ed81243b43a85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ag 'def scan' -w . plugins/* | |
app/models/vm_or_template/scanning.rb | |
5: def scan(userid = "system", options = {}) | |
app/models/ems_cluster.rb | |
212: def scan | |
app/models/storage.rb | |
366: def scan(userid = "system", _role = "ems_operations") | |
app/models/manager_refresh/inventory_collection/scanner.rb | |
10: def scan!(inventory_collections) | |
56: def scan! | |
app/models/container_image.rb | |
69: def scan | |
app/models/host.rb | |
1292: def scan(userid = "system", options = {}) | |
app/models/ems_event/automate.rb | |
53: def scan(*targets) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ag -w '\.scan' . plugins/ --ruby | |
## Edited out clearly irrelevant String#scan with a regex | |
app/models/miq_action.rb | |
726: rec.scan | |
775: rec.scan | |
app/models/vm_or_template.rb | |
1632: vm.scan | |
app/models/manager_refresh/save_inventory.rb | |
11: ManagerRefresh::InventoryCollection::Scanner.scan!(inventory_collections) | |
app/models/miq_schedule.rb | |
195: obj.scan | |
app/models/host.rb | |
984: host.scan | |
app/models/ems_event/automate.rb | |
64: target.scan | |
spec/models/vm_spec.rb | |
211: @vm.scan | |
222: @vm.scan | |
spec/models/manager_refresh/persister/local_db_finders_spec.rb | |
81: ManagerRefresh::InventoryCollection::Scanner.scan!(persister.inventory_collections) | |
spec/models/host_spec.rb | |
640: @host.scan | |
651: @host.scan | |
spec/models/vm_scan_spec.rb | |
27: @vm.scan | |
218: template.scan | |
452: @vm.scan | |
485: @vm2.scan | |
spec/models/storage_spec.rb | |
155: expect { @storage2.scan }.to raise_error(MiqException::MiqStorageError) | |
207: expect { @storage3.scan }.to raise_error(MiqException::MiqUnsupportedStorage) | |
210: @storage1.scan | |
plugins/manageiq-ui-classic/app/controllers/mixins/containers_common_mixin.rb | |
150: image.scan | |
plugins/manageiq-content/content/automate/ManageIQ/Infrastructure/VM/Provisioning/StateMachines/Methods.class/__methods__/scan.rb | |
9: vm.scan | |
plugins/manageiq-content/content/automate/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/__methods__/scan.rb | |
9: vm.scan | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment