C# Class Mercurial.ListFile

This class can be used internally by the other command classes, to provide support for a list of files written out to a temporary file, instead of passing them all on the command line.
Using the list file syntax is only supported on Mercurial 1.8 and above. This class will handle this automatically.
Mostrar archivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
Cleanup ( ) : void

Cleans up by removing the temporary file left from GetArguments, provided one was created and it is still present.

GetArguments ( ) : string[]

Gets the sequence of arguments to pass to the command line client. This might write out a temporary file on disk, so be sure to call Cleanup when the command has completed execution.

Method Details

Cleanup() public method

Cleans up by removing the temporary file left from GetArguments, provided one was created and it is still present.
public Cleanup ( ) : void
return void

GetArguments() public method

Gets the sequence of arguments to pass to the command line client. This might write out a temporary file on disk, so be sure to call Cleanup when the command has completed execution.
public GetArguments ( ) : string[]
return string[]