MCPcopy Create free account
hub / github.com/GCWing/BitFun / refresh

Method refresh

src/web-ui/src/tools/git/state/GitStateManager.ts:150–164  ·  view source on GitHub ↗

* Request a refresh.

(
    repositoryPath: string,
    options: RefreshOptions = {}
  )

Source from the content-addressed store, hash-verified

148 * Request a refresh.
149 */
150 async refresh(
151 repositoryPath: string,
152 options: RefreshOptions = {}
153 ): Promise<void> {
154 const normalizedPath = this.normalizePath(repositoryPath);
155 const {
156 force = false,
157 layers = ['basic', 'status'],
158 silent = false,
159 reason = 'manual',
160 source,
161 } = options;
162
163 return this.enqueueRefresh(normalizedPath, layers, force, reason, silent, source);
164 }
165
166 cancelPendingRefresh(
167 repositoryPath: string,

Callers 15

GitStateManagerClass · 0.95
get_skill_configsFunction · 0.45
get_mode_skill_configsFunction · 0.45
delete_skillFunction · 0.45
handleWorkspaceOpenedMethod · 0.45
useGitStateFunction · 0.45
Terminal.tsxFile · 0.45
updateThemeFunction · 0.45

Calls 2

normalizePathMethod · 0.95
enqueueRefreshMethod · 0.95

Tested by

no test coverage detected