dirOf
builtins.dirOf
Primop
Docs pulled from | This Revision | 1 day 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.
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Noogle detected
Detected Type
dirOf :: String -> String
Implementation
This function is implemented in c++ and is part of the native nix runtime.