Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ fileViewerStore.ts
File
fileViewerStore.ts
web/lib/fileViewerStore.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ create } from
"zustand"
;
2
import
{ nanoid } from
"nanoid"
;
3
4
export
type
FileViewMode =
"view"
|
"edit"
|
"diff"
;
Callers
nothing calls this directly
Calls
8
set
Function · 0.85
getFilename
Function · 0.85
isImageFile
Function · 0.85
max
Method · 0.80
detectLanguage
Function · 0.70
create
Function · 0.50
get
Function · 0.50
error
Method · 0.45
Tested by
no test coverage detected