Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ id
Method
id
core/control-panel/impl/src/models/artifact.rs:74–76 ·
view source on GitHub ↗
Returns the artifact id.
(&self)
Source
from the content-addressed store, hash-verified
72
73
/// Returns the artifact id.
74
pub fn id(&self) -> &ArtifactId {
75
&self.id
76
}
77
78
/// Returns the artifact hash.
79
pub fn hash(&self) -> &[u8] {
Callers
11
from
Method · 0.80
create
Method · 0.80
check_crud_operations
Function · 0.80
test_find_by_hash
Function · 0.80
test_index_inser_same_uses_same_indexes
Function · 0.80
test_find_by_size_lte
Function · 0.80
validate
Method · 0.80
artifact_with_same_hash_is_invalid
Function · 0.80
artifact_with_different_hash_is_valid
Function · 0.80
to_index_by_hash
Method · 0.80
to_index_by_size
Method · 0.80
Calls
no outgoing calls
Tested by
6
check_crud_operations
Function · 0.64
test_find_by_hash
Function · 0.64
test_index_inser_same_uses_same_indexes
Function · 0.64
test_find_by_size_lte
Function · 0.64
artifact_with_same_hash_is_invalid
Function · 0.64
artifact_with_different_hash_is_valid
Function · 0.64