// if the user has configured `site.entry-point`, use that
// as the build directory. Otherwise use the default const
// SITE_ENTRY_POINT
if the user has configured `site.entry-point`, use that
as the build directory. Otherwise use the default const
SITE_ENTRY_POINT
if the user has configured ` site . entry - point ` use that as the build directory . Otherwise use the default const SITE_ENTRY_POINT
pub fn entry_point(&self) -> Result<PathBuf, std::io::Error> {
        let current_dir = env::current_dir()?;
        Ok(current_dir.join(
            self.entry_point
                .to_owned()
                .unwrap_or_else(|| PathBuf::from(SITE_ENTRY_POINT)),
        ))
    }
pub fn entry_point ( & self ) -> Result < PathBuf , std :: io :: Error > { let current_dir = env :: current_dir ( ) ? ; Ok ( current_dir . join ( self . entry_point . to_owned ( ) . unwrap_or_else ( | | PathBuf :: from ( SITE_ENTRY_POINT ) ) , ) ) }
if the user has configured `site.entry-point`, use that
as the build directory.
if the user has configured ` site . entry - point ` use that as the build directory .
&self