struct Agate::Diff::File

Overview

A file reference within a delta (old or new side).

Defined in:

agate/diff.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(oid : OID, path : String, size : UInt64, mode : UInt16, flags : UInt32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(oid _oid = @oid, path _path = @path, size _size = @size, mode _mode = @mode, flags _flags = @flags) #

[View source]
def flags : UInt32 #

def mode : UInt16 #

def oid : OID #

def path : String #

def size : UInt64 #