This is a macro library for Scala 3.
Sometimes is is useful to access file contents without going to the file system. It comes in handly for ScalaJS projects, as files are read during compile time only.
Inline files with extension .txt
in sub folder folder1/folder2
under ./inline-files-root/
:
val inlined = inlineDeepTextFiles("./inline-files-root/", ".txt")
.folder("folder1/folder2")
.files()
See all examples in tests.