MCPcopy Create free account
hub / github.com/Mohawkz3417/IntegriSentinel / getFileChangesByDevice

Function getFileChangesByDevice

lib/api.ts:132–135  ·  view source on GitHub ↗
(deviceName: string)

Source from the content-addressed store, hash-verified

130}
131
132export async function getFileChangesByDevice(deviceName: string): Promise<FileChange[]> {
133 const filtered = mockFileChanges.filter((f) => f.device === deviceName)
134 return fetchFromApi(`/api/file-changes?device=${encodeURIComponent(deviceName)}`, filtered)
135}
136
137// Login Activity
138export async function getLoginActivity(): Promise<LoginActivity[]> {

Callers 1

useFileChangesByDeviceFunction · 0.90

Calls 1

fetchFromApiFunction · 0.85

Tested by

no test coverage detected