Class: Pod::Downloader::Git
- Inherits:
-
Base
- Object
- Base
- Pod::Downloader::Git
- Defined in:
- lib/cocoapods-soul-component-plugin/command/soul-component-plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.check_if_has_auth_clone(url) ⇒ Object
19 20 21 22 23 |
# File 'lib/cocoapods-soul-component-plugin/command/soul-component-plugin.rb', line 19 def self.check_if_has_auth_clone(url) cmd = "git ls-remote #{url} --exit-code" stdout, stderr, status = Open3.capture3(cmd) status.success? end |
Instance Method Details
#download_deep ⇒ Object
14 15 16 17 |
# File 'lib/cocoapods-soul-component-plugin/command/soul-component-plugin.rb', line 14 def download_deep clone(false, false) checkout_commit if [:commit] end |