Class: Crusoe::Commands::Git::Status

Inherits:
GitCommand show all
Defined in:
lib/crusoe/commands/git/status.rb

Constant Summary

Constants inherited from GitCommand

GitCommand::MAIN_GIT_BRANCH

Instance Attribute Summary

Attributes inherited from GitCommand

#directory

Instance Method Summary collapse

Methods inherited from GitCommand

#initialize

Constructor Details

This class inherits a constructor from Crusoe::Commands::Git::GitCommand

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


7
8
9
10
# File 'lib/crusoe/commands/git/status.rb', line 7

def empty?
  # TODO: Clean this up
  git_client.status.changed.empty?
end