Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ functions
Functions
18,976 in github.com/hashintel/hash
⨍
Functions
18,976
◇
Types & classes
3,899
↓ 18 callers
Method
subscribe
(listener: (event: DocChangeEvent) => void)
libs/@hashintel/petrinaut-core/src/handle/types.ts:55
↓ 18 callers
Method
try_collect_reports
(self)
libs/error-stack/src/ext/iter.rs:186
↓ 18 callers
Function
typedKeys
( object: T, )
libs/@local/advanced-types/src/typed-entries.ts:39
↓ 18 callers
Function
typedValues
( object: T, )
libs/@blockprotocol/graph/src/util/typed-entries.ts:46
↓ 18 callers
Function
useSlideStack
()
apps/hash-frontend/src/pages/shared/slide-stack/context.tsx:17
↓ 17 callers
Method
as_bytes
(&self)
libs/@local/hashql/core/src/value/primitive/string.rs:77
↓ 17 callers
Method
build
(self)
libs/@local/harpc/server/src/router.rs:129
↓ 17 callers
Method
code
(&self)
libs/@local/status/rust/src/lib.rs:48
↓ 17 callers
Method
concat
Concatenates documents.
libs/@local/hashql/core/src/pretty/formatter.rs:287
↓ 17 callers
Function
create_graph
Helper function to create a directed graph from an adjacency list.
libs/@local/hashql/core/src/type/inference/solver/tarjan.rs:227
↓ 17 callers
Method
dict
( self, pairs: impl IntoIterator<Item = (impl Into<Operand<'heap>>, impl Into<Operand<'heap>>)
libs/@local/hashql/mir/src/builder/rvalue.rs:145
↓ 17 callers
Function
did_you_mean
Finds the most similar symbols to a lookup string from a set of candidates. This function implements a three-tier matching strategy with fallback pri
libs/@local/hashql/core/src/algorithms/similarity.rs:238
↓ 17 callers
Method
exit
(&self, items: &mut SmallVec<(T, Option<T>), 4>)
libs/@local/hashql/core/src/type/environment/context/replace.rs:51
↓ 17 callers
Method
filter
( &mut self, filterset: &Filterset, context: EvalContext, query: BinaryQuery,
libs/@local/hashql/compiletest/src/harness/trial/mod.rs:199
↓ 17 callers
Function
formatCost
( value: number | null | undefined, currency: string | null, opts?: { compact?: boolean }, )
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:135
↓ 17 callers
Function
getArcEndpoint
(arc: ArcWithEndpoint)
libs/@hashintel/petrinaut-core/src/arc-endpoints.ts:29
↓ 17 callers
Method
import_prelude
(&mut self)
libs/@local/hashql/core/src/module/namespace.rs:328
↓ 17 callers
Method
insert
( &mut self, hook: impl Fn(&T, &mut HookContext<T>) + Send + Sync + 'static, )
libs/error-stack/src/fmt/hook.rs:432
↓ 17 callers
Method
insert
(&mut self, kind: EdgeKind, target: u32)
libs/@local/hashql/core/src/type/inference/solver/graph.rs:85
↓ 17 callers
Method
into_report
(self)
libs/error-stack/src/report.rs:1043
↓ 17 callers
Function
mergePropertyObjectAndMetadata
( property: T["properties"], metadata?: PropertyObjectMetadata, )
libs/@local/graph/sdk/typescript/src/entity.ts:738
↓ 17 callers
Function
no_sorting
()
tests/graph/integration/postgres/email_filter_protection.rs:428
↓ 17 callers
Method
of_mut
(&mut self, universe: Universe)
libs/@local/hashql/core/src/module/universe.rs:161
↓ 17 callers
Function
one
()
libs/@blockprotocol/type-system/rust/src/ontology/property_type/schema/object/mod.rs:93
↓ 17 callers
Function
queryEntitySubgraph
( context: { graphApi: GraphApi }, authentication: AuthenticationContext, params: QueryEntitySubgraphReq
libs/@local/graph/sdk/typescript/src/entity.ts:335
↓ 17 callers
Method
set
(&self, flag: Self::Flag, condition: bool)
libs/@local/harpc/wire-protocol/src/flags.rs:47
↓ 17 callers
Function
status_to_response
(status: Status<T>)
libs/@local/graph/api/src/rest/status.rs:34
↓ 17 callers
Method
stop
(this: void)
libs/@hashintel/petrinaut-core/src/playback/playback.ts:96
↓ 17 callers
Function
test_diff
( lhs: &Property, rhs: &Property, expected: impl IntoIterator<Item = Prope
libs/@blockprotocol/type-system/rust/src/knowledge/entity/mod.rs:200
↓ 17 callers
Function
updateEntity
( ...payload )
apps/hash-frontend/src/components/sandbox/framed-block/framed-block.tsx:104
↓ 17 callers
Method
url
(&self)
libs/@local/graph/postgres-store/src/store/config.rs:112
↓ 17 callers
Function
uuid
(ty: &TypeBuilder<'_, '_>)
libs/@local/hashql/core/src/module/std_lib/core/uuid.rs:13
↓ 17 callers
Function
validate_property
( property: JsonValue, metadata: Option<PropertyMetadata>, property_type: &'static str
libs/@local/graph/validation/src/lib.rs:393
↓ 17 callers
Method
value
(self)
libs/@local/harpc/types/src/subsystem.rs:17
↓ 17 callers
Method
visit_node
(&mut self, node: Node<'heap>)
libs/@local/hashql/hir/src/visit.rs:160
↓ 16 callers
Method
archive
( graphAPI: GraphApi, authentication: AuthenticationContext, provenance: ProvidedEntityEditionProv
libs/@local/graph/sdk/typescript/src/entity.ts:1314
↓ 16 callers
Method
as_ref
(&self)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:183
↓ 16 callers
Function
assert_detected
(filter: &Filter<'_, Entity>, config: &PropertyProtectionFilterConfig)
libs/@local/graph/store/src/filter/protection.rs:1041
↓ 16 callers
Function
assert_ssa_pass
( name: &'static str, body: Body<'heap>, mut context: MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/ssa_repair/tests.rs:24
↓ 16 callers
Method
clone
(&self)
libs/@local/harpc/tower/src/body/empty.rs:62
↓ 16 callers
Method
cloned
(&self)
libs/@local/harpc/server/src/session.rs:35
↓ 16 callers
Method
collect_in
(self, alloc: A)
libs/@local/hashql/core/src/heap/iter.rs:41
↓ 16 callers
Method
create_user
(&mut self, email: &str, shortname: &str)
tests/graph/integration/postgres/email_filter_protection.rs:260
↓ 16 callers
Function
currentTimestamp
()
libs/@blockprotocol/type-system/typescript/src/native/time.ts:7
↓ 16 callers
Function
deleteKratosIdentity
(params: { kratosIdentityId: string; })
apps/hash-api/src/auth/ory-kratos.ts:74
↓ 16 callers
Method
finish
Consumes the builder and produces a [`Struct`]. Fields are sorted by symbol before interning, so the resulting struct's field order may differ from t
libs/@local/hashql/mir/src/interpret/value/struct.rs:617
↓ 16 callers
Function
getYCenter
( args: Pick<DrawArgs<CustomCell>, "rect" | "ctx"> & { theme: Theme }, )
apps/hash-frontend/src/components/grid/utils.ts:8
↓ 16 callers
Method
insert
Inserts a value at the given ID index, expanding the vector if necessary. If the vector is shorter than the index, it will be extended with `None` va
libs/@local/hashql/core/src/id/vec.rs:541
↓ 16 callers
Method
is_empty
(&self)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:83
↓ 16 callers
Method
join
(&self, lhs: &mut TraversalPathBitSet, rhs: &TraversalPathBitSet)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:207
↓ 16 callers
Method
len
(&self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:105
↓ 16 callers
Method
lookup
(&self, block: BasicBlockId)
libs/@local/hashql/mir/src/pass/execution/island/graph/mod.rs:284
↓ 16 callers
Function
name_property_path
()
tests/graph/integration/postgres/sorting.rs:220
↓ 16 callers
Method
patch_entity
( &mut self, actor_id: ActorEntityUuid, params: PatchEntityParams, )
tests/graph/integration/postgres/lib.rs:865
↓ 16 callers
Method
punct_str
(&'alloc self, text: &'alloc str)
libs/@local/hashql/core/src/pretty/formatter.rs:185
↓ 16 callers
Method
query_entities
( &self, actor_id: ActorEntityUuid, params: QueryEntitiesParams<'_>, )
tests/graph/integration/postgres/lib.rs:821
↓ 16 callers
Method
remove
( &self, number: u32, )
libs/@local/graph/migrations/src/postgres.rs:200
↓ 16 callers
Method
row
(&self, row: R)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:443
↓ 16 callers
Method
subscript
( self: Type<'heap, Self>, index: TypeId, env: &mut LatticeEnvironment<'_, 'heap>,
libs/@local/hashql/core/src/type/kind/generic/mod.rs:278
↓ 16 callers
Function
useStore
(store: ReadableStore<T>)
libs/@hashintel/petrinaut/src/react/use-store.ts:5
↓ 15 callers
Method
add_constraint
(&mut self, mut constraint: Constraint<'heap>)
libs/@local/hashql/core/src/type/environment/infer.rs:90
↓ 15 callers
Method
alias
( self, alias: impl Into<TableReference<'id>>, )
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:609
↓ 15 callers
Method
as_ref
(&self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:90
↓ 15 callers
Function
assert_frame
(response: &Response, expected: ExpectedFrame<impl AsRef<[u8]> + ?Sized>)
libs/@local/harpc/net/src/session/server/transaction/test.rs:142
↓ 15 callers
Function
assert_sccs_equal
Helper function to compare SCCs regardless of their order.
libs/@local/hashql/core/src/type/inference/solver/tarjan.rs:234
↓ 15 callers
Function
atLeastOne
(array: T[])
libs/@blockprotocol/type-system/typescript/src/common.ts:40
↓ 15 callers
Method
cast
(self, r#type: PostgresType)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/conditional.rs:659
↓ 15 callers
Method
change_context_lazy
(self, context: F)
libs/error-stack/src/future.rs:291
↓ 15 callers
Method
collect_constraints
Collects and organizes constraints by their target variables. Processes the constraint list and groups constraints by the canonical representative of
libs/@local/hashql/core/src/type/inference/solver/mod.rs:522
↓ 15 callers
Function
createTestUser
( context: ImpureGraphContext<false, true>, shortNamePrefix: string, logger: Logger, )
tests/hash-backend-integration/src/tests/util.ts:103
↓ 15 callers
Method
dispose
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/api.ts:163
↓ 15 callers
Method
expr
(&mut self, expr: Expr<'heap>)
libs/@local/hashql/hir/src/reify/mod.rs:777
↓ 15 callers
Method
extend
(&mut self, iter: T)
libs/@local/graph/store/src/entity_type/store.rs:294
↓ 15 callers
Function
generateLinkParameters
( hrefToCheck?: string | Url, )
apps/hash-frontend/src/shared/generate-link-parameters.ts:24
↓ 15 callers
Function
getCurrentHashSystemEntityTypeId
({ entityTypeKey, migrationState, }: { entityTypeKey: keyof typeof systemEntityTypes; migrationState:
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:579
↓ 15 callers
Function
getStorageProvider
()
libs/@local/hash-backend-utils/src/flows/payload-storage.ts:17
↓ 15 callers
Method
is_empty
(&self)
libs/@local/hashql/mir/src/pass/transform/administrative_reduction/mod.rs:120
↓ 15 callers
Method
is_ok
(self)
libs/@local/harpc/types/src/response_kind.rs:15
↓ 15 callers
Function
make_targets
(assignments: &[TargetId])
libs/@local/hashql/mir/src/pass/execution/fusion/tests.rs:30
↓ 15 callers
Method
observe
()
libs/@hashintel/petrinaut/src/ui/views/Editor/panels/BottomPanel/subviews/simulation-timeline/legend.test.tsx:23
↓ 15 callers
Function
offset_basic_blocks
( context: &MirContext<'_, 'heap>, body: &mut Body<'heap>, regions: &BasicBlockSlice<(NonZero<usiz
libs/@local/hashql/mir/src/pass/execution/splitting/mod.rs:157
↓ 15 callers
Function
onChange
()
apps/hash-frontend/src/pages/shared/create-data-type-form.tsx:206
↓ 15 callers
Method
patch_entity
( &mut self, actor_id: ActorEntityUuid, mut params: PatchEntityParams, )
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/mod.rs:1749
↓ 15 callers
Method
path
(&mut self, path: Path<'heap>)
libs/@local/hashql/hir/src/reify/mod.rs:375
↓ 15 callers
Method
resolve_absolute
( &self, query: impl IntoIterator<Item = Symbol<'heap>>, )
libs/@local/hashql/core/src/module/resolver.rs:257
↓ 15 callers
Method
to_str
(self, charset: Charset)
libs/error-stack/src/fmt/mod.rs:423
↓ 15 callers
Method
truncate
(&mut self, index: I)
libs/@local/hashql/core/src/id/vec.rs:444
↓ 15 callers
Method
upsert_variable
Returns the ID for a variable, inserting it if not present. Ensures each [`VariableKind`] has exactly one ID for consistent lookup.
libs/@local/hashql/core/src/type/inference/solver/mod.rs:94
↓ 15 callers
Function
usePortalContainerRef
()
libs/@hashintel/ds-components/src/util/portal-container-context.tsx:18
↓ 15 callers
Function
ws
A combinator that takes a parser `inner` and produces a parser that also consumes both leading and trailing whitespace, returning the output of `inner
libs/@local/hashql/syntax-jexpr/src/parser/string/combinator.rs:116
↓ 14 callers
Function
analyze
(body: &Body<'_>)
libs/@local/hashql/mir/src/pass/execution/traversal/analysis/tests.rs:26
↓ 14 callers
Method
any
(conditions: Vec<Self>)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/conditional.rs:399
↓ 14 callers
Method
bytes
(&self)
libs/@local/harpc/codec/src/error.rs:92
↓ 14 callers
Function
cedar_resource_type
( names: [&'static str; N], )
libs/@local/graph/authorization/src/policies/cedar/mod.rs:79
↓ 14 callers
Method
condense
Condenses the graph by merging nodes that belong to the same equivalence class. This operation restructures the graph to reflect the current state of
libs/@local/hashql/core/src/type/inference/solver/graph.rs:220
↓ 14 callers
Method
contains
(&self)
libs/error-stack/src/report.rs:674
↓ 14 callers
Function
createJsonDocHandle
( opts: CreateJsonDocHandleOptions, )
libs/@hashintel/petrinaut-core/src/handle/json-doc-handle/create-json-doc-handle.ts:74
↓ 14 callers
Method
disconnect
()
libs/@hashintel/petrinaut/src/ui/views/Editor/panels/BottomPanel/subviews/simulation-timeline/legend.test.tsx:25
↓ 14 callers
Function
email_filter
Helper to create a filter that matches entities by email.
tests/graph/integration/postgres/email_filter_protection.rs:143
↓ 14 callers
Function
extractDraftIdFromEntityId
( entityId: EntityId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:124
← previous
next →
401–500 of 18,976, ranked by callers