summaryrefslogtreecommitdiff
path: root/src/pyssg/discovery.py
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-16 18:46:01 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-16 18:46:01 -0600
commit0dae5d53c49dd7b946990ca9e232fb924bf4f918 (patch)
tree93d4e990a9351a139339e2baf91d82b45849ddb4 /src/pyssg/discovery.py
parenteaee38a4b6ebedc106548876cdbe1fe433c514bb (diff)
refactor code and finish basic features
Diffstat (limited to 'src/pyssg/discovery.py')
-rw-r--r--src/pyssg/discovery.py13
1 files changed, 0 insertions, 13 deletions
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)