Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceramicnetwork/rust-ceramic
/ randomStreamID
Function
randomStreamID
sdk/packages/identifiers/src/utils.ts:53–55 ·
view source on GitHub ↗
(type: StreamType = 0)
Source
from the content-addressed store, hash-verified
51
52
/** @internal */
53
export
function
randomStreamID(
type
: StreamType = 0): StreamID {
54
return
new
StreamID(
type
, randomCID())
55
}
Callers
7
utils.test.ts
File · 0.90
lib.test.ts
File · 0.90
lib.test.ts
File · 0.90
container.test.ts
File · 0.90
signing.test.ts
File · 0.90
encoding.test.ts
File · 0.90
codecs.test.ts
File · 0.85
Calls
1
randomCID
Function · 0.85
Tested by
no test coverage detected