mirror of
https://github.com/NixOS/nix
synced 2025-06-28 05:21:16 +02:00
Clean up exportGit argument handling
This commit is contained in:
parent
46cb15df9b
commit
6960ee929d
4 changed files with 40 additions and 30 deletions
|
@ -10,13 +10,13 @@ struct GitInfo
|
|||
{
|
||||
Path storePath;
|
||||
std::string ref;
|
||||
std::string rev;
|
||||
std::string shortRev;
|
||||
Hash rev{htSHA1};
|
||||
std::optional<uint64_t> revCount;
|
||||
};
|
||||
|
||||
GitInfo exportGit(ref<Store> store, const std::string & uri,
|
||||
std::optional<std::string> ref, std::string rev,
|
||||
std::optional<std::string> ref,
|
||||
std::optional<Hash> rev,
|
||||
const std::string & name);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue