diff options
| author | 2024-03-12 15:40:28 +0800 | |
|---|---|---|
| committer | 2024-03-12 15:40:28 +0800 | |
| commit | c0ff60443d0cbfceba4abc828814416e541c912b (patch) | |
| tree | d70c5af2b8477bad5958c48d60a0a8f82dd101b5 | |
| parent | 4dae83193574a455e3c315db135c9550e1c801c6 (diff) | |
| download | ipm-c0ff60443d0cbfceba4abc828814416e541c912b.tar.gz ipm-c0ff60443d0cbfceba4abc828814416e541c912b.zip | |
to(index): add yggdrasil uuid property example methods
| -rw-r--r-- | src/ipm/models/index.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipm/models/index.py b/src/ipm/models/index.py index 7f179aa..d9051de 100644 --- a/src/ipm/models/index.py +++ b/src/ipm/models/index.py @@ -67,3 +67,8 @@ class Yggdrasil: def get_hash(self, name: str, version: str) -> str: """从本地获取规则包哈希值""" raise NotImplementedError + + @property + def uuid(self) -> str: + """世界树唯一标识""" + raise NotImplementedError |
