Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
svn-diff-with-json
master
GitDiff
Change
Diff
Line
Parser
Patch
SvnDiffWithJson
App
Built with Crystal 1.9.2
2023-10-07 18:31:54 UTC
class
GitDiff::Line
GitDiff::Line
Reference
Object
Defined in:
git_diff/line.cr
Constant Summary
ADDED
=
"+"
DELETED
=
"-"
NOT_MODIFIED
=
" "
Constructors
.new
(sign : String, content : String)
Instance Method Summary
#added?
: Bool
#content
: String
#deleted?
: Bool
#not_modified?
: Bool
#sign
: String
Constructor Detail
def self.
new
(sign : String, content : String)
#
[
View source
]
Instance Method Detail
def
added?
: Bool
#
[
View source
]
def
content
: String
#
[
View source
]
def
deleted?
: Bool
#
[
View source
]
def
not_modified?
: Bool
#
[
View source
]
def
sign
: String
#
[
View source
]