Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ libgit - calls
diff_blobs: old_blob old_as_path: old_as_path new_blob: new_blob new_as_path: new_as_path options: options file_cb: file_cb hunk_cb: hunk_cb line_cb: line_cb payload: payload

^ self
ffiCallSafely:
#(LGitReturnCodeEnum git_diff_blobs (LGitBlob old_blob , String old_as_path , LGitBlob new_blob , String new_as_path , LGitDiffOptions *options , LGitDiffFileCallback file_cb , LGitDiffHunkCallback hunk_cb , LGitDiffLineCallback line_cb , void *payload))
ffiCall: #(LGitReturnCodeEnum git_diff_blobs (LGitBlob old_blob , String old_as_path , LGitBlob new_blob , String new_as_path , LGitDiffOptions *options , LGitDiffFileCallback file_cb , LGitDiffHunkCallback hunk_cb , LGitDiffLineCallback line_cb , void *payload))
options: #(optMayGC optCoerceNilToNull)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
libgit - calls
diff_buffers: old_buffer
old_len: old_len
old_as_path: old_as_path
new_buffer: new_buffer
new_len: new_len
new_as_path: new_as_path
options: options
file_cb: file_cb
binary_cb: binary_cb
hunk_cb: hunk_cb
line_cb: line_cb
payload: payload

^ self
ffiCall:
#(LGitReturnCodeEnum git_diff_buffers #(FFIVoid * old_buffer , size_t old_len , String old_as_path , void *new_buffer , size_t new_len , String new_as_path , LGitDiffOptions * options , LGitDiffFileCallback file_cb , LGitDiffBinaryCallback binary_cb , LGitDiffHunkCallback hunk_cb , LGitDiffLineCallback line_cb , void * payload))
options: #(optMayGC optCoerceNilToNull)

This file was deleted.

2 changes: 1 addition & 1 deletion LibGit-Core.package/LGitDiffLine.class/class/fieldsDesc.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fields description
fieldsDesc
^#(
LGitDiffLineTypeEnum origin "A git_diff_line_t value"
char origin "A git_diff_line_t value"
int old_lineno "Line number in old file or -1 for added line"
int new_lineno "Line number in new file or -1 for deleted line"
int num_lines "Number of newline characters in content"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libgit - fields
libgit-fields
prim_origin: anObject
"This method was automatically generated"
handle unsignedLongAt: OFFSET_PRIM_ORIGIN put: anObject value
handle unsignedCharAt: OFFSET_PRIM_ORIGIN put: anObject
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libgit - fields
libgit-fields
prim_origin
"This method was automatically generated"
^LGitDiffLineTypeEnum fromInteger: (handle unsignedLongAt: OFFSET_PRIM_ORIGIN)
^handle unsignedCharAt: OFFSET_PRIM_ORIGIN
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
abstract
basicIsDirectory: aNode

^ aNode object isTree
^ aNode type = LGitObjectTypeEnum git_obj_tree
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
abstract
basicIsFile: aLGitTreeEntry

^ aLGitTreeEntry object isBlob
^ aLGitTreeEntry type = LGitObjectTypeEnum git_obj_blob
Loading