Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Matheus28
4y ago
0 comments
Save
Share
Yes but that's a general use function, it won't check for safe.directory inside of it
0 comments
3 comments · 1 top-level
top
newest
oldest
db48x
4y ago
· 2 in thread
Right, all that does is turn paths like ~/foo into /home/<user>/foo. I’ve no idea why it even takes the key as an argument.
Matheus28
OP
4y ago
It's so it can print an error referring to the key if there was a problem parsing.
db48x
4y ago
Oh, that makes sense.
j
/
k
navigate · click thread line to collapse