( filesystem: FileSystem, options?: GitToolsOptions )
| 143 | |
| 144 | /** Create a git ToolProvider from a raw FileSystem. */ |
| 145 | export function gitToolsFromFs( |
| 146 | filesystem: FileSystem, |
| 147 | options?: GitToolsOptions |
| 148 | ): ToolProvider { |
| 149 | return createGitToolProvider( |
| 150 | createGit(filesystem, options?.dir ?? "/"), |
| 151 | options?.token |
| 152 | ); |
| 153 | } |
nothing calls this directly
no test coverage detected