struct Agate::IndexEntry

Overview

An entry in the index (staging area).

Defined in:

agate/index.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, oid : OID, mode : UInt32, file_size : UInt32, stage : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(path _path = @path, oid _oid = @oid, mode _mode = @mode, file_size _file_size = @file_size, stage _stage = @stage) #

[View source]
def file_size : UInt32 #

def mode : UInt32 #

def oid : OID #

def path : String #

def stage : Int32 #