Class: Git::Commands::UpdateRef::Delete Private
- Defined in:
- lib/git/commands/update_ref/delete.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Note:
arguments block audited against https://git-scm.com/docs/git-update-ref/2.53.0
Deletes a ref via git update-ref -d
Removes the named ref after optionally verifying it still contains
<oldvalue>. Follows symbolic refs by default unless no_deref: true
is given.
Instance Method Summary collapse
-
#call(ref, oldvalue = nil, **options) ⇒ Git::CommandLineResult
Execute the
git update-ref -dcommand.
Methods inherited from Base
allow_exit_status, arguments, #initialize, requires_git_version, skip_version_validation
Constructor Details
This class inherits a constructor from Git::Commands::Base
Instance Method Details
#call(ref, oldvalue = nil, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/update_ref/delete.rb', line 55
|