clean_project_path: Clean project path

View source: R/directory_management.R

clean_project_pathR Documentation

Clean project path

Description

Ensures project paths are valid and secure by removing potentially harmful characters and preventing directory traversal attempts. This function sanitizes file paths to prevent security issues and ensure consistent file naming across different operating systems.

Usage

clean_project_path(path)

Arguments

path

Character string containing the project path to be cleaned

Value

Sanitized path string that is safe to use for file operations


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.