Miosa.Types.FileEntry (Miosa v1.0.1)

Copy Markdown View Source

A file or directory entry in a computer's filesystem.

Summary

Types

file_type()

@type file_type() :: :file | :directory | :symlink

t()

@type t() :: %Miosa.Types.FileEntry{
  modified_at: String.t() | nil,
  name: String.t(),
  path: String.t(),
  permissions: String.t() | nil,
  size: integer() | nil,
  type: file_type()
}

Functions

from_map(map)

@spec from_map(map()) :: t()