Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
Matheus28
3y ago
0 comments
Share
Yes but that's a general use function, it won't check for safe.directory inside of it
undefined | Better HN
0 comments
default
newest
oldest
db48x
3y ago
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
3y ago
It's so it can print an error referring to the key if there was a problem parsing.
db48x
3y ago
Oh, that makes sense.
j
/
k
navigate · click thread line to collapse