forked from nodegit/nodegit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff_file.js
More file actions
38 lines (32 loc) · 677 Bytes
/
diff_file.js
File metadata and controls
38 lines (32 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
var NodeGit = require("../");
var DiffFile = NodeGit.DiffFile;
var flags = DiffFile.prototype.flags;
/**
* Returns the file's flags
* @return {Number}
*/
DiffFile.prototype.flags = flags;
var id = DiffFile.prototype.id;
/**
* Returns the file's Oid
* @return {Oid}
*/
DiffFile.prototype.id = id;
var mode = DiffFile.prototype.mode;
/**
* Returns the file's mode
* @return {Number}
*/
DiffFile.prototype.mode = mode;
var path = DiffFile.prototype.path;
/**
* Returns the file's path
* @return {String}
*/
DiffFile.prototype.path = path;
var size = DiffFile.prototype.size;
/**
* Returns the file's size
* @return {Number}
*/
DiffFile.prototype.size = size;