MCPcopy Index your code
hub / github.com/codeaashu/claude-code / loadChangedFiles

Function loadChangedFiles

src/components/TeleportStash.tsx:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 // Load changed files on mount
25 useEffect(() => {
26 const loadChangedFiles = async () => {
27 try {
28 const fileStatus = await getFileStatus();
29 setGitFileStatus(fileStatus);
30 } catch (err) {
31 const errorMessage = err instanceof Error ? err.message : String(err);
32 logForDebugging(`Error getting changed files: ${errorMessage}`, {
33 level: 'error'
34 });
35 setError('Failed to get changed files');
36 } finally {
37 setLoading(false);
38 }
39 };
40 void loadChangedFiles();
41 }, []);
42 const handleStash = async () => {

Callers 1

TeleportStashFunction · 0.85

Calls 2

getFileStatusFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected