Return the group name of the file gid.
(self, *, follow_symlinks=True)
| 1152 | |
| 1153 | if grp: |
| 1154 | def group(self, *, follow_symlinks=True): |
| 1155 | """ |
| 1156 | Return the group name of the file gid. |
| 1157 | """ |
| 1158 | gid = self.stat(follow_symlinks=follow_symlinks).st_gid |
| 1159 | return grp.getgrgid(gid).gr_name |
| 1160 | else: |
| 1161 | def group(self, *, follow_symlinks=True): |
| 1162 | """ |