mirror of
https://github.com/NixOS/nix
synced 2025-07-06 13:21:47 +02:00
Merge pull request #9480 from NixOS/libfetchers-git-exportIgnore
libfetchers/git: Support export-ignore
This commit is contained in:
commit
2a3c5e6b8b
11 changed files with 296 additions and 19 deletions
|
@ -88,6 +88,13 @@ public:
|
|||
std::string_view rel() const
|
||||
{ return ((std::string_view) path).substr(1); }
|
||||
|
||||
const char * rel_c_str() const
|
||||
{
|
||||
auto cs = path.c_str();
|
||||
assert(cs[0]); // for safety if invariant is broken
|
||||
return &cs[1];
|
||||
}
|
||||
|
||||
struct Iterator
|
||||
{
|
||||
std::string_view remaining;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue