We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69cce6 commit f9d85b4Copy full SHA for f9d85b4
1 file changed
src/Streamly/Coreutils/Id.hs
@@ -25,6 +25,7 @@ module Streamly.Coreutils.Id
25
-- * Owner ids of the current process
26
, idNum
27
, idName
28
+ -- , idInfo -- get (Num, Name)
29
30
-- * Groups of the current process user
31
, groupIds
@@ -33,6 +34,13 @@ module Streamly.Coreutils.Id
33
34
-- * Login name of the current process user
35
, loginName
36
37
+ -- XXX FromUserId is common in all these, we can assume that as implicit
38
+ -- and remove it and maybe prefix these with get.
39
+ --
40
+ -- XXX To save db lookups we should perhaps get the entire user record and
41
+ -- use that to print whatever fields we want. We can build a formatter to
42
+ -- use the fields.
43
+
44
-- * Lookups by user id
45
, userNameFromId
46
, groupNameFromId
0 commit comments