Class: Capsium::Reactor::Mount::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/capsium/reactor/mount.rb,
sig/capsium/reactor/mount.rbs

Overview

A mount entry as accepted from the CLI or a JSON config file: "path" may be nil (the default is assigned on build), "source" is a package directory, .cap file or Package, "store" optionally overrides the global package store for this mount.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path



24
25
26
# File 'lib/capsium/reactor/mount.rb', line 24

def path
  @path
end

#sourceObject (readonly)

Returns the value of attribute source



24
25
26
# File 'lib/capsium/reactor/mount.rb', line 24

def source
  @source
end

#storeObject (readonly)

Returns the value of attribute store



24
25
26
# File 'lib/capsium/reactor/mount.rb', line 24

def store
  @store
end

Class Method Details

.newvoid



21
# File 'sig/capsium/reactor/mount.rbs', line 21

def self.new: (path: String? path, source: (Package | String) source, store: (Package::Store | String)? store) -> void

Instance Method Details

#withEntry



29
# File 'sig/capsium/reactor/mount.rbs', line 29

def with: (?path: String? path, ?source: (Package | String) source, ?store: (Package::Store | String)? store) -> Entry