diff options
author | jk2k <4025839+jk2K@users.noreply.github.com> | 2020-06-07 20:06:33 +0800 |
---|---|---|
committer | jk2k <4025839+jk2K@users.noreply.github.com> | 2020-06-10 20:26:51 +0800 |
commit | e4a55327a2f1bd53fa173ce3e536eef530bfc272 (patch) | |
tree | b9f9f33604905b135b79667a14f36d5d3c90912e /options.go | |
parent | 96a108e35075afd13e81df9ba2bf96c8c6125283 (diff) | |
download | go-git-e4a55327a2f1bd53fa173ce3e536eef530bfc272.tar.gz |
feat: add file with using .gitignore, fixed src-d/go-git#1219
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -373,6 +373,12 @@ var ( ErrMissingAuthor = errors.New("author field is required") ) +// AddOptions describes how a add operation should be performed +type AddOptions struct { + All bool + Path string +} + // CommitOptions describes how a commit operation should be performed. type CommitOptions struct { // All automatically stage files that have been modified and deleted, but |