Method: Archive::Entry#gname
- Defined in:
-
ext/libarchive-0.1.1/ext/libarchive_entry.c,
ext/libarchive-0.1.1/libarchive.c
232 233 234 235 236 237 238 239 |
# File 'ext/libarchive-0.1.1/ext/libarchive_entry.c', line 232
static VALUE rb_libarchive_entry_gname(VALUE self) {
struct rb_libarchive_entry_container *p;
const char *gname;
Data_Get_Struct(self, struct rb_libarchive_entry_container, p);
Check_Entry(p);
gname = archive_entry_gname(p->ae);
return (gname != NULL) ? rb_str_new2(gname) : Qnil;
}
|