diff options
author | Santiago M. Mola <santi@mola.io> | 2017-02-07 17:26:13 +0100 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-02-07 17:26:13 +0100 |
commit | 62666856d9f4b3150671eb1f215a7072c02c0bc6 (patch) | |
tree | 3cd937fbca4386bf3454ed217546b7c42d8bf93a /plumbing/object/file.go | |
parent | 1f39465975d56bbb02f5cdfb1e3e77f41c613f1d (diff) | |
download | go-git-62666856d9f4b3150671eb1f215a7072c02c0bc6.tar.gz |
doc: add object fields godoc
Diffstat (limited to 'plumbing/object/file.go')
-rw-r--r-- | plumbing/object/file.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plumbing/object/file.go b/plumbing/object/file.go index 4caed6b..35e7f24 100644 --- a/plumbing/object/file.go +++ b/plumbing/object/file.go @@ -12,8 +12,12 @@ import ( // File represents git file objects. type File struct { + // Name is the path of the file. It might be relative to a tree, + // depending of the function that generates it. Name string + // Mode is the file mode. Mode os.FileMode + // Blob with the contents of the file. Blob } |