dagger/dsl/stat

Values

pub fn file_type(
  parent: types.Stat,
  client client: types.Client,
  then handler: fn(Result(types.FileType, types.QueryError)) -> a,
) -> a

file type

pub fn id(parent: types.Stat) -> types.Stat

A unique identifier for this Stat.

pub fn name(
  parent: types.Stat,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

file name

pub fn permissions(
  parent: types.Stat,
  client client: types.Client,
  then handler: fn(Result(Int, types.QueryError)) -> a,
) -> a

permission bits

pub fn size(
  parent: types.Stat,
  client client: types.Client,
  then handler: fn(Result(Int, types.QueryError)) -> a,
) -> a

file size

pub fn stat(id id: types.Stat) -> types.Stat
Search Document