Nix
2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
git.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include <string>
5
#include <string_view>
6
#include <optional>
7
8
namespace
nix {
9
10
namespace
git {
11
29
struct
LsRemoteRefLine
{
30
enum struct
Kind {
31
Symbolic,
32
Object
33
};
34
Kind kind;
35
std::string target;
36
std::optional<std::string> reference;
37
};
38
39
std::optional<LsRemoteRefLine> parseLsRemoteLine(std::string_view line);
40
41
}
42
43
}
nix::git::LsRemoteRefLine
Definition
git.hh:29
lix
libutil
git.hh
Generated by
1.15.0