Skip to content

Commit f9d85b4

Browse files
Add some todo notes
1 parent a69cce6 commit f9d85b4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • src/Streamly/Coreutils

src/Streamly/Coreutils/Id.hs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module Streamly.Coreutils.Id
2525
-- * Owner ids of the current process
2626
, idNum
2727
, idName
28+
-- , idInfo -- get (Num, Name)
2829

2930
-- * Groups of the current process user
3031
, groupIds
@@ -33,6 +34,13 @@ module Streamly.Coreutils.Id
3334
-- * Login name of the current process user
3435
, loginName
3536

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+
3644
-- * Lookups by user id
3745
, userNameFromId
3846
, groupNameFromId

0 commit comments

Comments
 (0)