#include <string>
#include "sbuild-types.h"
Include dependency graph for sbuild-util.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | sbuild |
Functions | |
std::string | sbuild::basename (std::string name, char separator= '/') |
Strip the directory path from a filename. | |
std::string | sbuild::dirname (std::string name, char separator= '/') |
Strip the fileame from a pathname. | |
std::string | sbuild::string_list_to_string (string_list const &list, std::string const &separator) |
Convert a string_list into a string. | |
string_list | sbuild::split_string (std::string const &value, char separator) |
Split a string into a string_list. | |
std::string | sbuild::find_program_in_path (std::string const &program, std::string const &path, std::string const &prefix) |
Find a program in the PATH search path. | |
char ** | sbuild::string_list_to_strv (string_list const &str) |
Create a string vector from a string_list. | |
void | sbuild::strv_delete (char **strv) |
Delete a string vector. |