% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate-args.R
\name{.validate_file_arg}
\alias{.validate_file_arg}
\title{Validate a file argument}
\usage{
.validate_file_arg(arg_name, value)
}
\arguments{
\item{arg_name}{Character string, the name of the argument being checked
(used only in error messages).}

\item{value}{A character path to a file, or \code{NULL}.}
}
\value{
A normalized file path if validation succeeds, or \code{NULL}
if the input was \code{NULL}.
}
\description{
Internal helper used by \code{generate_dockerfile()} to check that
optional file arguments (e.g. \code{data_file}, \code{code_file},
\code{misc_file}) are valid.
}
\keyword{internal}
