xapian-core  1.4.26
Functions
append_filename_arg.h File Reference

Append filename argument to a command string with suitable escaping. More...

#include <cstring>
#include <string>
+ Include dependency graph for append_filename_arg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static bool append_filename_argument (std::string &cmd, const std::string &arg, bool leading_space=true)
 Append filename argument arg to command cmd with suitable escaping. More...
 

Detailed Description

Append filename argument to a command string with suitable escaping.

Definition in file append_filename_arg.h.

Function Documentation

◆ append_filename_argument()

static bool append_filename_argument ( std::string &  cmd,
const std::string &  arg,
bool  leading_space = true 
)
static

Append filename argument arg to command cmd with suitable escaping.

Definition at line 29 of file append_filename_arg.h.

Referenced by cp_R(), and rm_rf().