/tg/ Station 13 - Modules - Types

code/__HELPERS/files.dm

/proc/pathwalkTakes a directory and returns every file within every sub directory. If extensions_filter is provided then only files that end in that extension are given back. If extensions_filter is a list, any file that matches at least one entry is given back.
/proc/md5filepathReturns the md5 of a file at a given path.
/proc/md5asfileSave file as an external file then md5 it. Used because md5ing files stored in the rsc sometimes gives incorrect md5 results.
/proc/sanitize_filepathSanitizes the name of each node in the path.