MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / getRPathConfigEntry

Function getRPathConfigEntry

src/util.ts:88–96  ·  view source on GitHub ↗
(term: boolean = false)

Source from the content-addressed store, hash-verified

86}
87
88export function getRPathConfigEntry(term: boolean = false): string {
89 const trunc = (term ? 'rterm' : 'rpath');
90 const platform = (
91 process.platform === 'win32' ? 'windows' :
92 process.platform === 'darwin' ? 'mac' :
93 'linux'
94 );
95 return `${trunc}.${platform}`;
96}
97
98export async function getRpath(quote = false, overwriteConfig?: string): Promise<string | undefined> {
99 let rpath: string | undefined = '';

Callers 3

getAllAliasesMethod · 0.90
getRpathFunction · 0.85
getRtermFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected