ListFile Class

Summary

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.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Base Types
  • object
graph TD Base0["object"]-->Type Type["ListFile"] class Type type-node

Syntax

public sealed class ListFile

Remarks

Using the list file syntax is only supported on Mercurial 1.8 and above. This class will handle this automatically.

Constructors

Name Summary
ListFile()

Properties

Name Value Summary
Collection Collection<T>
Gets the collection of filenames to write out to the file.

Methods

Name Value Summary
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.