22 #include "manage_local_proto.h"
35 int M_do_copy(
int n,
const char *old,
const char *mapset,
const char *
new)
43 G_message(
_(
"Copying %s <%s> to current mapset as <%s>"),
list[n].maindesc,
50 G_warning(
_(
"Unable to copy <%s> to current mapset as <%s>"),
59 if (access(
path, 0) != 0) {
67 G_warning(
_(
"Unable to copy <%s> to current mapset as <%s>"),
84 G_warning(
_(
"String for secondary color table has been truncated"));
int G_recursive_copy(const char *, const char *)
Copy recursively source directory to destination directory.
void G_warning(const char *,...) __attribute__((format(printf
char * G_file_name(char *, const char *, const char *, const char *)
Builds full path names to GIS data files.
int G_make_mapset_object_group(const char *)
Create directory for group of elements of a given type.
void void G_verbose_message(const char *,...) __attribute__((format(printf
const char * G_mapset(void)
Get current mapset name.
int G_remove(const char *, const char *)
Remove a database file.
char * G_fully_qualified_name(const char *, const char *)
Get fully qualified element name.
int int G_strcasecmp(const char *, const char *)
String compare ignoring case (upper or lower)
void G_message(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf
int M__hold_signals(int)
Hold signals.
int Vect_copy(const char *, const char *, const char *)
Copy vector map including attribute tables.
int M_do_copy(int n, const char *old, const char *mapset, const char *new)
Copy element.