Fan

 

class

flux::Flux

sys::Obj
  flux::Flux

Flux provides system level utilities for flux applications

Slots

homeDirSource

static File homeDir()

The flux home defaults to "{Sys.homeDir}/flux/".

loadOptionsSource

static Obj? loadOptions(Str name, Type? t)

Read an options file into memory. An option file is a serialized object stored at "{fluxHome}/{name}.fog". By convention flux option classes end in "Options". If the options file is not found, then return t?.make.

logSource

static Log log := Flux#.log

Standard log for flux pod.

saveOptionsSource

static Bool saveOptions(Str name, Obj options)

Save options back to file. An option file is a serialized object stored at "{fluxName}/{name}.fog". Return true on success, false on failure.