MCPcopy
hub / github.com/tensorflow/tensorboard / readComponent

Function readComponent

tensorboard/components/tf_storage/storage_utils.ts:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 * Read component from URI (e.g. returns "events&runPrefix=train*").
45 */
46export function readComponent(): string {
47 return useHash() ? window.location.hash.slice(1) : getFakeHash();
48}
49
50/**
51 * Convert a URI Component into a dictionary of strings.

Callers 5

getFunction · 0.90
setFunction · 0.90
migrateLegacyURLSchemeFunction · 0.90
storage_utils.tsFile · 0.85
unsetFromURIFunction · 0.85

Calls 2

useHashFunction · 0.90
getFakeHashFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…