internal/fs

Types

pub type FileContent {
  FileContent(String)
}

Constructors

  • FileContent(String)
pub type FilePath {
  FilePath(String)
}

Constructors

  • FilePath(String)
pub type FilesDir {
  FilesDir(String)
}

Constructors

  • FilesDir(String)
pub type ModuleFullName {
  ModuleFullName(String)
}

Constructors

  • ModuleFullName(String)

Functions

pub fn file_path_to_module_full_name(
  files_dir: FilesDir,
  file_path: FilePath,
) -> ModuleFullName
pub fn files_contents(
  files_paths: List(FilePath),
) -> List(FileContent)
pub fn files_paths(dir: FilesDir) -> List(FilePath)
Search Document