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>"),
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>"),
83 G_warning(
_(
"String for secondary color table has been truncated"));
int M_do_copy(int n, const char *old, const char *mapset, const char *new)
Copy element.
char * G_file_name(char *, const char *, const char *, const char *)
Builds full path names to GIS data files.
int G_remove(const char *, const char *)
Remove a database file.
int M__hold_signals(int)
Hold signals.
void G_message(const char *,...) __attribute__((format(printf
int int G_strcasecmp(const char *, const char *)
String compare ignoring case (upper or lower)
char * G_fully_qualified_name(const char *, const char *)
Get fully qualified element name.
int G_recursive_copy(const char *, const char *)
Copy recursively source directory to destination directory.
int Vect_copy(const char *, const char *, const char *)
Copy vector map including attribute tables.
const char * G_mapset(void)
Get current mapset name.
void G_warning(const char *,...) __attribute__((format(printf
void void G_verbose_message(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf
int G_make_mapset_object_group(const char *)
Create directory for group of elements of a given type.