Nix
2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
shlex.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include <regex>
5
#include <string>
6
#include <vector>
7
8
#include "
lix/libutil/error.hh
"
9
10
namespace
nix {
11
12
class
ShlexError :
public
Error
13
{
14
public
:
15
const
std::string input;
16
17
ShlexError(
const
std::string input)
18
: Error(
"Failed to parse shell arguments (unterminated quote?): %1%"
, input)
19
, input(input)
20
{
21
}
22
};
23
29
std::vector<std::string> shell_split(
const
std::string & input);
30
31
}
// namespace nix
error.hh
This file defines two main structs/classes used in nix error handling.
lix
libutil
shlex.hh
Generated by
1.15.0