MCPcopy Create free account
hub / github.com/microsoft/typescript-go / Snapshot

Method Snapshot

internal/project/session.go:894–898  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

892}
893
894func (s *Session) Snapshot() *Snapshot {
895 s.snapshotMu.RLock()
896 defer s.snapshotMu.RUnlock()
897 return s.snapshot
898}
899
900// getSnapshot flushes pending changes and updates the session's snapshot
901// if needed for the given request. When callerRef is true, the returned

Callers 15

setupCheckerPoolSessionFunction · 0.95
TestRefCountingCachesFunction · 0.95
TestSnapshotFunction · 0.95
TestRegistryLifecycleFunction · 0.80
autoImportStatsFunction · 0.80
TestCustomConfigFileNameFunction · 0.80
TestProjectLifetimeFunction · 0.80
TestSessionFunction · 0.80

Calls

no outgoing calls

Tested by 15

setupCheckerPoolSessionFunction · 0.76
TestRefCountingCachesFunction · 0.76
TestSnapshotFunction · 0.76
TestRegistryLifecycleFunction · 0.64
autoImportStatsFunction · 0.64
TestCustomConfigFileNameFunction · 0.64
TestProjectLifetimeFunction · 0.64
TestSessionFunction · 0.64