index.ts
utils/nativeInstaller/index.ts
No strong subsystem tag
19
Lines
456
Bytes
8
Exports
1
Imports
10
Keywords
What this is
This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.
Beginner explanation
This file is one piece of the larger system. Its name, directory, imports, and exports show where it fits. Start by reading the exports and related files first.
How it is used
Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.
Expert explanation
Architecturally, this file intersects with general runtime concerns. It contains 19 lines, 1 detected imports, and 8 detected exports.
Important relationships
- utils/nativeInstaller/download.ts
- utils/nativeInstaller/installer.ts
- utils/nativeInstaller/packageManagers.ts
- utils/nativeInstaller/pidLock.ts
- commands/add-dir/index.ts
- commands/agents/index.ts
- commands/branch/index.ts
- commands/bridge/index.ts
- commands/btw/index.ts
- commands/chrome/index.ts
- commands/clear/index.ts
- commands/color/index.ts
Detected exports
checkInstallcleanupNpmInstallationscleanupOldVersionscleanupShellAliasesinstallLatestlockCurrentVersionremoveInstalledSymlinktype SetupMessage
Keywords
onlyinstallerfilefunctionsactuallyusedexternalmodulesnativepublic
Detected imports
./installer.js
Source notes
This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.
Full source
/**
* Native Installer - Public API
*
* This is the barrel file that exports only the functions actually used by external modules.
* External modules should only import from this file.
*/
// Re-export only the functions that are actually used
export {
checkInstall,
cleanupNpmInstallations,
cleanupOldVersions,
cleanupShellAliases,
installLatest,
lockCurrentVersion,
removeInstalledSymlink,
type SetupMessage,
} from './installer.js'