NewWithOptions sets non default configuration options. See New for complete help.
(fs billy.Filesystem, o Options)
| 116 | // NewWithOptions sets non default configuration options. |
| 117 | // See New for complete help. |
| 118 | func NewWithOptions(fs billy.Filesystem, o Options) *DotGit { |
| 119 | return &DotGit{ |
| 120 | options: o, |
| 121 | fs: fs, |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | // Initialize creates all the folder scaffolding. |
| 126 | func (d *DotGit) Initialize() error { |
no outgoing calls