(git Env, m *concreteManifest)
| 352 | ) |
| 353 | |
| 354 | func configureDefaultCustomAdapters(git Env, m *concreteManifest) { |
| 355 | newfunc := func(name string, dir Direction) Adapter { |
| 356 | standalone := m.standaloneTransferAgent != "" |
| 357 | return newCustomAdapter(m.fs, standaloneFileName, dir, "git-lfs", "standalone-file", false, standalone) |
| 358 | } |
| 359 | m.RegisterNewAdapterFunc(standaloneFileName, Download, newfunc) |
| 360 | m.RegisterNewAdapterFunc(standaloneFileName, Upload, newfunc) |
| 361 | } |
| 362 | |
| 363 | // Initialise custom adapters based on current config |
| 364 | func configureCustomAdapters(git Env, m *concreteManifest) { |
no test coverage detected