class PlaceOS::Core::DriverStore

Defined in:

placeos-core/driver_manager.cr

Constant Summary

BINARY_PATH = ENV["PLACEOS_DRIVER_BINARIES"]?.presence || Path["./bin/drivers"].expand.to_s

Constructors

Instance Method Summary

Constructor Detail

def self.new(binary_path : String = BINARY_PATH) #

[View source]

Instance Method Detail

def built?(file_name : String, commit : String, branch : String, uri : String) : String | Nil #

[View source]
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 #

[View source]
def compiled?(file_name : String, commit : String, branch : String, uri : String) : Bool #

[View source]
def compiled_drivers : Array(String) #

[View source]
def defaults(file_name : String, commit : String, branch : String, uri : String) #

[View source]
def driver_binary_path(file_name : String, commit : String) #

[View source]
def executable_name(driver_source, commit) #

[View source]
def metadata(file_name : String, commit : String, branch : String, uri : String) #

[View source]
def path(driver_file : String) : Path #

[View source]
def reload_driver(driver_id : String) #

[View source]