MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getCurrentTempDirName

Function getCurrentTempDirName

src/platform/common/temp.ts:12–14  ·  view source on GitHub ↗
(context: IExtensionContext)

Source from the content-addressed store, hash-verified

10export const TEMP_DIR_PREFIX = 'version';
11
12export function getCurrentTempDirName(context: IExtensionContext): string {
13 return `${TEMP_DIR_PREFIX}-${context.extension.packageJSON.version || 'version'}`;
14}
15
16export async function getExtensionTempDir(context: IExtensionContext, fs?: IFileSystem): Promise<Uri> {
17 if (isWeb()) {

Callers 2

deleteOldTempDirsFunction · 0.90
getExtensionTempDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected