summaryrefslogtreecommitdiff
path: root/lib/helpers/file_helpers.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helpers/file_helpers.ml')
-rw-r--r--lib/helpers/file_helpers.ml6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/helpers/file_helpers.ml b/lib/helpers/file_helpers.ml
deleted file mode 100644
index a1b5372..0000000
--- a/lib/helpers/file_helpers.ml
+++ /dev/null
@@ -1,6 +0,0 @@
-let list_files dir =
- try
- Array.to_list (Sys.readdir dir)
- |> List.map (fun file -> Printf.sprintf "<li>%s</li>" file)
- |> String.concat ""
- with _ -> "<li>Error: Unable to read directory</li>"
Copyright 2019--2025 Marius PETER