From 0dae5d53c49dd7b946990ca9e232fb924bf4f918 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 16 May 2021 18:46:01 -0600 Subject: refactor code and finish basic features --- src/pyssg/discovery.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/pyssg/discovery.py') diff --git a/src/pyssg/discovery.py b/src/pyssg/discovery.py index 7fe5964..8dbbf69 100644 --- a/src/pyssg/discovery.py +++ b/src/pyssg/discovery.py @@ -29,16 +29,3 @@ def get_dir_structure(directory: str, out.append(os.path.join(root, d)) return [o.replace(directory, '')[1:] for o in out] - - -def get_all_files(src: str) -> tuple[list[str], list[str], list[str]]: - md_files: list[str] = get_file_list(src, - ['.md', '.markdown'], - ['templates']) - html_files: list[str] = get_file_list(src, - ['.html'], - ['templates']) - dirs: list[str] = get_dir_structure(src, - ['templates']) - - return (dirs, md_files, html_files) -- cgit v1.2.3-70-g09d2