class PlaceOS::Core::DriverStore
- PlaceOS::Core::DriverStore
- Reference
- Object
Defined in:
placeos-core/driver_manager.crConstant Summary
-
BINARY_PATH =
ENV["PLACEOS_DRIVER_BINARIES"]?.presence || Path["./bin/drivers"].expand.to_s
Constructors
Instance Method Summary
- #built?(file_name : String, commit : String, branch : String, uri : String) : String | Nil
- #compile(file_name : String, url : String, commit : String, branch : String, force : Bool, username : String | Nil = nil, password : String | Nil = nil, fetch : Bool = true) : Result
- #compiled?(file_name : String, commit : String, branch : String, uri : String) : Bool
- #compiled_drivers : Array(String)
- #defaults(file_name : String, commit : String, branch : String, uri : String)
- #driver_binary_path(file_name : String, commit : String)
- #executable_name(driver_source, commit)
- #metadata(file_name : String, commit : String, branch : String, uri : String)
- #path(driver_file : String) : Path
- #reload_driver(driver_id : String)
Constructor Detail
Instance Method Detail
def built?(file_name : String, commit : String, branch : String, uri : String) : String | Nil
#
def compile(file_name : String, url : String, commit : String, branch : String, force : Bool, username : String | Nil = nil, password : String | Nil = nil, fetch : Bool = true) : Result
#
def compiled?(file_name : String, commit : String, branch : String, uri : String) : Bool
#