Type: implement gencode, gencode_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
d3ae8b7c90
commit
4f33e5222d
1 changed files with 8 additions and 0 deletions
|
@ -116,6 +116,14 @@ class Type(object):
|
||||||
def manifest_path(self):
|
def manifest_path(self):
|
||||||
return os.path.join(self.path, "manifest")
|
return os.path.join(self.path, "manifest")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def gencode(self):
|
||||||
|
return os.path.join(self.path, "gencode-local")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def gencode_remote(self):
|
||||||
|
return os.path.join(self.path, "gencode-remote")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_singleton(self):
|
def is_singleton(self):
|
||||||
"""Check whether a type is a singleton."""
|
"""Check whether a type is a singleton."""
|
||||||
|
|
Loading…
Reference in a new issue