Module pgs_files::group [] [src]

Fuctions and Structs for dealing with /etc/group

Structs

GroupEntry

An entry from /etc/group

Functions

get_all_entries

Return a Vec<GroupEntry> containing all GroupEntry's from /etc/group

get_all_entries_from_path

Return a Vec<GroupEntry> containing all GroupEntry's for a given &Path

get_entry_by_gid

Return a GroupEntry for a given uid from /etc/group

get_entry_by_gid_from_path

Return a GroupEntry for a given uid and &Path

get_entry_by_name

Return a GroupEntry for a given name from /etc/group

get_entry_by_name_from_path

Return a GroupEntry for a given name and &Path