dirOf
lib.dirOf
Primop
Docs pulled from | This Revision | 29 minutes ago
Takes 1 arguments
s
Return the directory part of the string s, that is, everything
before the final slash in the string. This is similar to the GNU
dirname command.
Noogle detected
Detected Type
dirOf :: String -> String
Implementation
This function is implemented in c++ and is part of the native nix runtime.