MCPcopy Index your code
hub / github.com/angular/examples / getFleetUnit

Function getFleetUnit

logistics-manager-app/src/server.ts:24–26  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

22}
23
24export function getFleetUnit(id: string): FleetUnit | undefined {
25 return fleetDb.getUnit(id);
26}
27
28export function updateFleetUnit(id: string, update: Partial<FleetUnit>): FleetUnit | undefined {
29 return fleetDb.updateUnit(id, update);

Callers 1

server.tsFile · 0.85

Calls 1

getUnitMethod · 0.80

Tested by

no test coverage detected