class Agate::StatusList

Overview

The status list for a repository -- all changed/new/deleted files.

Included Modules

Defined in:

agate/status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(repo : Repository) : StatusList #

Creates a new status list for the repository.


[View source]

Instance Method Detail

def [](index : Int32) : StatusEntry #

Returns the entry at the given index.


[View source]
def count : Int32 #

Returns the number of status entries.


[View source]
def each(& : StatusEntry -> ) : Nil #

Iterates over all status entries.


[View source]