Method GetLastCommitSegmentsFileName
GetLastCommitSegmentsFileName(String[])
Get the filename of the segments_N file for the most recent commit in the list of index files.
Declaration
public static string GetLastCommitSegmentsFileName(string[] files)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | files | array of file names to check |
Returns
Type | Description |
---|---|
System.String |
GetLastCommitSegmentsFileName(Directory)
Get the filename of the segments_N file for the most recent commit to the index in this Directory.
Declaration
public static string GetLastCommitSegmentsFileName(Directory directory)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | directory to search for the latest segments_N file |
Returns
Type | Description |
---|---|
System.String |