From 62666856d9f4b3150671eb1f215a7072c02c0bc6 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Tue, 7 Feb 2017 17:26:13 +0100 Subject: doc: add object fields godoc --- plumbing/object/file.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plumbing/object/file.go') 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 } -- cgit