% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{gimap_data_dir}
\alias{gimap_data_dir}
\title{Resolve and create data directory}
\usage{
gimap_data_dir(data_dir = NULL)
}
\arguments{
\item{data_dir}{Optional data directory. If NULL or empty, uses a user data dir.}
}
\value{
A normalized, existing directory path.
}
\description{
Internal helper to resolve a writable data directory for downloads.
}
\keyword{internal}
