Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 571 Bytes
// utils.h
#pragma once
#include "../scripting/engine.h"
namespace mongo {
namespace shellUtils {
void RecordMyLocation( const char *_argv0 );
void installShellUtils( Scope& scope );
// Scoped management of mongo program instances. Simple implementation:
// destructor kills all mongod instances created by the shell.
struct MongoProgramScope {
MongoProgramScope() {} // Avoid 'unused variable' warning.
void KillMongoProgramInstances();
Jump to Line
Something went wrong with that request. Please try again.