Function: dockerfile-standard-filename
dockerfile-standard-filename is a natively compiled function defined
in dockerfile-mode.el.
Signature
(dockerfile-standard-filename FILE)
Documentation
Convert the FILE name to OS standard.
If in Cygwin environment, uses Cygwin specific function to convert the file name. Otherwise, uses Emacs' standard conversion function.
Source Code
;; Defined in /nix/store/wfmjr60p5jy1p85wbrh60l5f6r52la4p-emacs-packages-deps/share/emacs/site-lisp/elpa/dockerfile-mode-20251221.1644/dockerfile-mode.el
(defun dockerfile-standard-filename (file)
"Convert the FILE name to OS standard.
If in Cygwin environment, uses Cygwin specific function to convert the
file name. Otherwise, uses Emacs' standard conversion function."
(if (fboundp 'cygwin-convert-file-name-to-windows)
(replace-regexp-in-string
(rx "\\") "\\\\" (cygwin-convert-file-name-to-windows file) t t)
(convert-standard-filename file)))