Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andylow92/file-system-like-github
/ functions
Functions
473 in github.com/andylow92/file-system-like-github
⨍
Functions
473
◇
Types & classes
179
↓ 5 callers
Function
seedPair
(opts: { channel: string; slug: string; draft: string; final: string; targetPath?: string;
apps/api/src/routes/feedback.test.ts:42
↓ 5 callers
Function
selectNode
(path: string)
apps/web/src/components/GlobalLayout.tsx:633
↓ 5 callers
Function
splitFrontmatter
(raw: string)
packages/shared/src/markdown.ts:68
↓ 5 callers
Function
stripAnchor
(line: string)
packages/shared/src/blocks.ts:74
↓ 5 callers
Function
validateMove
(sourcePath: string, targetDir: string)
apps/web/src/components/GlobalLayout.tsx:318
↓ 4 callers
Function
api
( method: string, pathname: string, options: { body?: unknown; actor?: string } = {}, )
apps/api/src/routes/events.test.ts:93
↓ 4 callers
Function
api
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/maintenance.test.ts:25
↓ 4 callers
Function
categoryOf
(proposal: ProposalRecord)
packages/shared/src/proposalStats.ts:54
↓ 4 callers
Function
createFileRepository
(pathResolver: PathResolver)
apps/api/src/storage/fileRepository.ts:28
↓ 4 callers
Function
decode
Decode the JSON payload our `tool()` wrapper packs into a single text block.
apps/mcp/src/server.test.ts:17
↓ 4 callers
Function
estimateTokens
(text: string)
packages/shared/src/context.ts:56
↓ 4 callers
Function
extractTags
(raw: string)
packages/shared/src/markdown.ts:229
↓ 4 callers
Function
feedbackMarker
(draftPath: string, finalPath: string)
packages/shared/src/feedback.ts:177
↓ 4 callers
Function
fetchFile
(path: string)
apps/web/src/api/files.ts:78
↓ 4 callers
Function
flush
()
packages/shared/src/semantic.ts:142
↓ 4 callers
Function
openEventStream
* Open the SSE stream and collect VaultEvents. Exposes `waitFor` (resolves when * a matching event arrives, with a timeout so tests can't hang) and `
apps/api/src/routes/events.test.ts:20
↓ 4 callers
Method
publish
(event: VaultEvent)
apps/api/src/events/eventBus.ts:13
↓ 4 callers
Function
semanticSearch
( documents: SemanticDocument[], query: string, options: SemanticSearchOptions = {}, )
packages/shared/src/semantic.ts:338
↓ 4 callers
Function
summarizeEval
(results: EvalCaseResult[], k: number)
packages/shared/src/retrievalEval.ts:100
↓ 4 callers
Method
updateMarkdownFile
(logicalPath: string, content: string)
apps/api/src/storage/fileRepository.ts:22
↓ 4 callers
Function
useVaultEvents
(options: UseVaultEventsOptions)
apps/web/src/hooks/useVaultEvents.ts:65
↓ 3 callers
Function
anchorOnLine
Find a trailing ` ^id` token on a single line (no code-fence context).
packages/shared/src/blocks.ts:79
↓ 3 callers
Function
api
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/skills.test.ts:20
↓ 3 callers
Function
blockRange
(lines: string[], start: number, end: number)
packages/shared/src/blocks.ts:188
↓ 3 callers
Function
buildSnippet
(line: string, query: string, maxLength = 160)
packages/shared/src/search.ts:17
↓ 3 callers
Function
colorForTag
(tag: string)
apps/web/src/components/graphLayout.ts:174
↓ 3 callers
Method
create
(input: CreateProposalInput)
apps/api/src/storage/proposalStore.ts:25
↓ 3 callers
Method
createDirectory
(logicalPath: string)
apps/api/src/storage/fileRepository.ts:19
↓ 3 callers
Method
deletePath
(logicalPath: string, options?: DeleteOptions)
apps/api/src/storage/fileRepository.ts:24
↓ 3 callers
Function
dropTargetKeyFor
(node: FileNode)
apps/web/src/components/GlobalLayout.tsx:313
↓ 3 callers
Function
ensureFresh
()
apps/api/src/index/vaultIndex.ts:153
↓ 3 callers
Function
fileFor
(id: string)
apps/api/src/storage/proposalStore.ts:39
↓ 3 callers
Function
isOwnDrag
( event?: DragEvent<HTMLElement> | DragEvent<HTMLDivElement> | DragEvent<HTMLUListElement>, )
apps/web/src/components/GlobalLayout.tsx:362
↓ 3 callers
Function
labelOf
Display label for a note path: the basename without the `.md` extension.
packages/shared/src/feedback.ts:161
↓ 3 callers
Function
movePathTo
(sourcePath: string, targetDir: string)
apps/web/src/components/GlobalLayout.tsx:338
↓ 3 callers
Function
patchPath
(fromPath: string, toPath: string)
apps/api/src/routes/files.test.ts:106
↓ 3 callers
Function
rankByText
* The lexical engine: rank notes by full-text (body) + filename substring match, * highest occurrence count first. Shared by `/api/search` (which sli
apps/api/src/routes/files.ts:872
↓ 3 callers
Method
rankedChunks
Ranked chunks carrying full text — used to assemble context bundles.
apps/api/src/index/vaultIndex.ts:38
↓ 3 callers
Function
readProposal
(file: string)
apps/api/src/storage/proposalStore.ts:41
↓ 3 callers
Method
record
(entry: Omit<AuditEntry, 'ts'>)
apps/api/src/storage/auditLog.ts:12
↓ 3 callers
Function
refreshCurrentFile
(path = selectedFilePath)
apps/web/src/App.tsx:150
↓ 3 callers
Function
refreshTreeAndCurrentFile
(path = selectedFilePath)
apps/web/src/App.tsx:164
↓ 3 callers
Function
resolve
Resolve a logical path against the corpus, tolerating a missing `.md`.
packages/shared/src/feedback.ts:431
↓ 3 callers
Function
resolveLogicalPath
* Resolve a file address (either `path=` or `id=`) into a logical path. The * caller passes the URL search params; we prefer `path` when both are giv
apps/api/src/routes/files.ts:325
↓ 3 callers
Function
seed
(notePath: string, content: string)
apps/api/src/routes/proposalStats.test.ts:49
↓ 3 callers
Function
seed
(notePath: string, content: string)
apps/api/src/routes/feedback.test.ts:38
↓ 3 callers
Function
seed
(notePath: string, content: string)
apps/api/src/routes/schema.test.ts:33
↓ 3 callers
Function
sendJson
(res: http.ServerResponse, statusCode: number, body: ApiResponse<T>)
apps/api/src/server.ts:74
↓ 3 callers
Function
showInfoModal
(title: string, description: string, variant: 'info' | 'error' = 'error')
apps/web/src/App.tsx:111
↓ 3 callers
Function
stripQuotes
(value: string)
packages/shared/src/markdown.ts:198
↓ 3 callers
Method
subscribe
Subscribe to events; returns an unsubscribe function.
apps/api/src/events/eventBus.ts:15
↓ 3 callers
Function
targetDirectoryFor
(node: FileNode)
apps/web/src/components/GlobalLayout.tsx:309
↓ 3 callers
Function
toggleFolder
(path: string)
apps/web/src/components/GlobalLayout.tsx:523
↓ 3 callers
Function
writeLocalStorage
(key: string, value: string)
apps/web/src/components/GlobalLayout.tsx:213
↓ 2 callers
Function
addEdge
(source: string, rawTarget: string, type?: string)
packages/shared/src/graph.ts:203
↓ 2 callers
Function
adjustZoom
(factor: number)
apps/web/src/components/KnowledgeGraph.tsx:179
↓ 2 callers
Function
api
( method: string, pathname: string, options: { body?: unknown } = {}, )
apps/api/src/routes/proposalStats.test.ts:36
↓ 2 callers
Function
bootstrap
()
apps/mcp/src/server.ts:777
↓ 2 callers
Function
buildContextNeighbors
Build focus-note + backlink neighbor passages for a context bundle.
apps/api/src/routes/files.ts:990
↓ 2 callers
Function
buildModifiedMap
* Build a `logical path → last-modified ISO` map from each note's mtime, used to * feed the maintenance scan's freshness ("stale but load-bearing") d
apps/api/src/routes/files.ts:1491
↓ 2 callers
Function
buildSemanticIndex
( documents: SemanticDocument[], options: { chunkSize?: number } = {}, )
packages/shared/src/semantic.ts:250
↓ 2 callers
Function
buildVector
(tokens: string[], idf: (term: string) => number)
packages/shared/src/semantic.ts:179
↓ 2 callers
Function
choose
(item: DisplayItem | undefined)
apps/web/src/components/SearchDialog.tsx:90
↓ 2 callers
Function
claim
(relativePath: string)
apps/api/src/events/watcher.ts:89
↓ 2 callers
Function
collect
(key: string, value: string)
packages/shared/src/graph.ts:123
↓ 2 callers
Function
copyToClipboard
* Copy `value` to the clipboard, falling back to a hidden textarea + * `execCommand('copy')` when the async Clipboard API is unavailable (older * br
apps/web/src/components/MarkdownPreviewPane.tsx:43
↓ 2 callers
Function
countWords
Count whitespace-delimited words.
packages/shared/src/feedback.ts:223
↓ 2 callers
Function
createAuditLog
(rootPath: string)
apps/api/src/storage/auditLog.ts:19
↓ 2 callers
Function
createEventBus
()
apps/api/src/events/eventBus.ts:18
↓ 2 callers
Function
createProposalStore
(rootPath: string)
apps/api/src/storage/proposalStore.ts:36
↓ 2 callers
Function
createQuestionLog
(rootPath: string)
apps/api/src/storage/questionLog.ts:22
↓ 2 callers
Function
createVaultIndex
(options: { repository: FileRepository; eventBus: EventBus; })
apps/api/src/index/vaultIndex.ts:55
↓ 2 callers
Function
currentNoteEtag
* The current etag of a note, computed exactly as `loadFileFromContext` does * (`sha1(content + lastModified)`), or `undefined` if the file can't be
apps/api/src/routes/files.ts:1469
↓ 2 callers
Function
declaredType
A note's declared frontmatter `type:`, normalized to lowercase, or undefined.
packages/shared/src/schema.ts:206
↓ 2 callers
Function
defaultContentRoot
()
apps/api/src/config.ts:17
↓ 2 callers
Function
deltaLabel
Signed word-delta label, e.g. `+4`, `-21`, `0`.
packages/shared/src/feedback.ts:376
↓ 2 callers
Method
emit
(e: VaultEvent)
apps/web/src/hooks/__tests__/useVaultEvents.test.ts:109
↓ 2 callers
Function
ensureInsideRoot
(absolutePath: string)
apps/api/src/storage/pathResolver.ts:55
↓ 2 callers
Function
fetchProposals
(status?: ProposalStatus)
apps/web/src/api/files.ts:166
↓ 2 callers
Function
fileAndReject
File a proposal and immediately reject it (reject never touches the vault).
apps/api/src/routes/proposalStats.test.ts:53
↓ 2 callers
Function
findNode
(nodePath: string)
apps/web/src/components/GlobalLayout.tsx:300
↓ 2 callers
Function
findPathByNoteId
* Walk the vault to find the note whose frontmatter `id:` matches. Currently * scans every note on each call — fine for a local single-user vault; an
apps/api/src/routes/files.ts:303
↓ 2 callers
Function
flattenMarkdownPaths
(nodes: TreeNode[])
apps/api/src/routes/files.ts:380
↓ 2 callers
Function
handleFileRoutes
( req: http.IncomingMessage, res: http.ServerResponse, dependencies: FileRouteDependencies, )
apps/api/src/routes/files.ts:1771
↓ 2 callers
Function
handleItemDragOver
(event: DragEvent<HTMLElement>, node: FileNode)
apps/web/src/components/GlobalLayout.tsx:388
↓ 2 callers
Function
hashString
Deterministic 32-bit FNV-1a hash of a string.
apps/web/src/components/graphLayout.ts:22
↓ 2 callers
Function
labelForPath
Display label for a node id: the basename without the `.md` extension.
packages/shared/src/graph.ts:148
↓ 2 callers
Function
labelOf
Display label for a note path: the basename without the `.md` extension.
packages/shared/src/schema.ts:232
↓ 2 callers
Function
link
(a: string, b: string)
apps/web/src/components/graphLayout.ts:144
↓ 2 callers
Function
markChanged
(paths: string[])
apps/api/src/index/vaultIndex.ts:76
↓ 2 callers
Function
markCodeFenceLines
Mark lines that are inside a fenced code block so we can ignore anchors there.
packages/shared/src/blocks.ts:42
↓ 2 callers
Function
nodeColor
(node: GraphNode)
apps/web/src/components/KnowledgeGraph.tsx:31
↓ 2 callers
Function
normalizeLogicalPath
(logicalPath: string)
apps/api/src/storage/pathResolver.ts:27
↓ 2 callers
Function
normalizeType
Normalize a raw `type:` value for lookup: trimmed, lowercased.
packages/shared/src/schema.ts:201
↓ 2 callers
Function
queryRankedChunks
( index: SemanticIndex, query: string, options: RankQueryOptions = {}, )
packages/shared/src/semantic.ts:284
↓ 2 callers
Function
querySemanticIndex
( index: SemanticIndex, query: string, options: RankQueryOptions = {}, )
packages/shared/src/semantic.ts:318
↓ 2 callers
Function
recordAuditAs
Best-effort audit write attributed to a specific actor (the proposer).
apps/api/src/routes/files.ts:1371
↓ 2 callers
Function
reportFail
(label, value)
scripts/doctor.mjs:20
↓ 2 callers
Function
reportOk
(label, value)
scripts/doctor.mjs:16
↓ 2 callers
Function
resolve
(decision: 'approve' | 'reject')
apps/web/src/components/ReviewPanel.tsx:120
← previous
next →
101–200 of 473, ranked by callers