role CompUnit::PrecompilationRepository
CompUnit::PrecompilationRepository
1 | Methods |
1.1 | method new-unit |
1.2 | method load-unit |
1.3 | method load-repo-id |
1.4 | method store-file |
1.5 | method store-unit |
1.6 | method store-repo-id |
1.7 | method delete |
1.8 | method delete-by-compiler |
2 | Type Graph |
This class provides stubs for each of the following methods. The methods are provided by sub-classes, such as PrecompilationRepository::File
. Sub-classes are implementation dependent.
Methods
method new-unit
method new-unit(| --> CompUnit::PrecompilationUnit)
Prepare a new implementation specific PrecompilationUnit for storage
method load-unit
method load-unit(CompUnit::PrecompilationId ,CompUnit::PrecompilationId )
Load the precompilation identified by the pairing of the specified compiler and precompilation ID.
method load-repo-id
method load-repo-id(CompUnit::PrecompilationId ,CompUnit::PrecompilationId )
Return the repository id for which the specified precomp file's dependencies have been validated
method store-file
method store-file(CompUnit::PrecompilationId ,CompUnit::PrecompilationId ,IO::Path ,: = '')
Store the file at the specified path in the precompilation store, under the given compiler ID and precompilation ID.
method store-unit
method store-unit(CompUnit::PrecompilationId ,CompUnit::PrecompilationId ,CompUnit::PrecompilationUnit )
Store the given precompilation unit in the precompilation store under the given compiler ID and precompilation ID.
method store-repo-id
method store-repo-id(CompUnit::PrecompilationId ,CompUnit::PrecompilationId ,:!)
Store the given repo-id for a precompilation under the given compiler ID and precompilation ID.
method delete
method delete(CompUnit::PrecompilationId ,CompUnit::PrecompilationId )
Delete an individual precompilation.
method delete-by-compiler
method delete-by-compiler(CompUnit::PrecompilationId )
Delete all precompilations for a particular compiler.