Axiom.FileSystem.FileSystemArchive.pushDirectory C# (CSharp) Method

pushDirectory() private method

Utility method to change directory and push the current directory onto a stack
private pushDirectory ( string dir ) : void
dir string
return void
		void pushDirectory( string dir )
		{
			// get current directory and push it onto the stack
#if !( XBOX || XBOX360 )
			string cwd = Directory.GetCurrentDirectory();
			_directoryStack.Push( cwd );
#endif
			changeDirectory( dir );
		}