diff options
Diffstat (limited to 'src/libcmd/editor-for.hh')
-rw-r--r-- | src/libcmd/editor-for.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcmd/editor-for.hh b/src/libcmd/editor-for.hh new file mode 100644 index 000000000..8fbd08792 --- /dev/null +++ b/src/libcmd/editor-for.hh @@ -0,0 +1,11 @@ +#pragma once + +#include "types.hh" + +namespace nix { + +/* Helper function to generate args that invoke $EDITOR on + filename:lineno. */ +Strings editorFor(const Path & file, uint32_t line); + +} |