summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-option/libnix-copy-paste.hh
blob: 2274e9a0f85320b4c5e900998b9a8393b55fb6cd (plain) (blame)
1
2
3
4
5
6
7
8
9
#pragma once

#include <iostream>
#include <nix/types.hh>
#include <string>

nix::Strings parseAttrPath(const std::string & s);
bool isVarName(const std::string & s);
std::ostream & printStringValue(std::ostream & str, const char * string);