mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01:00
libfetchers/git: Move workdir accessor into GitRepo::getAccessor
This commit is contained in:
parent
8024b954d7
commit
7774eff10e
3 changed files with 26 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "filtering-input-accessor.hh"
|
||||
#include "input-accessor.hh"
|
||||
|
||||
namespace nix {
|
||||
|
|
@ -73,6 +74,8 @@ struct GitRepo
|
|||
|
||||
virtual ref<InputAccessor> getAccessor(const Hash & rev, bool exportIgnore) = 0;
|
||||
|
||||
virtual ref<InputAccessor> getAccessor(const WorkdirInfo & wd, bool exportIgnore, MakeNotAllowedError makeNotAllowedError) = 0;
|
||||
|
||||
virtual void fetch(
|
||||
const std::string & url,
|
||||
const std::string & refspec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue