Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.01 KB

File metadata and controls

51 lines (38 loc) · 1.01 KB
layout default
menu_item api
title ConvenientHunk
description Version 0.4.0
return_to
API Documentation Index
/api/
sections
#header #lines #size
#header
#lines
#size

ConvenientHunk#header Sync

var string = convenientHunk.header();

Diff header string that represents the context of this hunk of the diff. Something like @@ -169,14 +167,12 @@ ...

Returns
String

ConvenientHunk#lines Sync

var string = convenientHunk.lines();

The lines in this hunk

Returns
String array of strings

ConvenientHunk#size Sync

var number = convenientHunk.size();

Number of lines in this hunk

Returns
Number