Open Sidebar
Close Sidebar
c0
main
Top Level Namespace
Array
C0
Builder
CSV
Diff
FileEdit
Section
Sub
Unit
DiffBuilder
Document
Error
Field
Group
JSON
Value
Pretty
FormatMode
Record
SectionBuilder
Serializable
Stream
Reader
Writer
Table
Token
Tokenizer
TokenType
UnassignedCodeError
UnexpectedEndError
Hash
NamedTuple
struct
C0::
Diff::
FileEdit
C0::Diff::FileEdit
Struct
Value
Object
Overview
A file edit: a file path and its sections.
Defined in:
c0/diff.cr
Constructors
.new
(path : Slice(UInt8), sections : Array(C0::Diff::Section))
Instance Method Summary
#path
: Bytes
#sections
: Array(Section)
Constructor Detail
def self.
new
(path : Slice(UInt8), sections :
Array
(
C0::Diff::Section
))
#
[
View source
]
Instance Method Detail
def
path
: Bytes
#
[
View source
]
def
sections
:
Array
(
Section
)
#
[
View source
]