87 if (
ref->nfiles <= 0) {
93 for (i = 0; i <
ref->nfiles; i++) {
101 _(
"subgroup <%s> of group <%s> references the following raster maps\n"),
103 fprintf(fd,
"-------------\n");
105 for (i = 0; i <
ref->nfiles; i++) {
116 fprintf(fd,
"-------------\n");
AMI_err name(char **stream_name)
char * G_file_name(char *, const char *, const char *, const char *)
Builds full path names to GIS data files.
int G_lstat(const char *, struct stat *)
Get file status.
char ** G_ls2(const char *, int *)
Stores a sorted directory listing in an array.
const char * G_mapset(void)
Get current mapset name.
int I_list_group_simple(const struct Ref *, FILE *)
Prints maps in a group (simple version)
void I__list_group_name_fit(char *, const char *, const char *)
Formats map name to fit in a 80 column layout.
int I_find_group2(const char *, const char *)
Does the group exists?
int I_list_subgroup_simple(const struct Ref *ref, FILE *fd)
Prints maps in a subgroup (simple version)
char ** list_subgroups(const char *group, const char *mapset, int *subgs_num)
char ** I_list_subgroups(const char *group, int *subgs_num)
Get list of subgroups which a group contains.
char ** I_list_subgroups2(const char *group, const char *mapset, int *subgs_num)
Get list of subgroups which a group contains.
int I_list_subgroup(const char *group, const char *subgroup, const struct Ref *ref, FILE *fd)
Prints maps in a subgroup (fancy version)