VaultRepositoryInfo members don't return data.
Moderator: SourceGear
VaultRepositoryInfo members don't return data.
I'm noticing that the VaultRepositoryInfo.DeletedFileCount, VaultRepositoryInfo.DeletedFolderCount, VaultRepositoryInfo.DbSize and VaultRepositoryInfo.TreeSize seem to always be 0. The FolderCount and FileCount appear to work just fine. Is there something I need to do to get these to return data, or do they just not do anything? This is with the Vault 4.1.3 API.
Re: VaultRepositoryInfo members don't return data.
How are you getting the VaultRepositoryInfo?
Re: VaultRepositoryInfo members don't return data.
This is the code I'm using:
VaultRepositoryInfo[] reps = null;
client.ListRepositories(ref reps);
foreach (VaultRepositoryInfo r in reps)
{
Repositories.Add(r.RepName, r);
}
Later on I'm getting info from the VaultRepositoryInfo objects that I've loaded into the SortedList Repositories.
VaultRepositoryInfo[] reps = null;
client.ListRepositories(ref reps);
foreach (VaultRepositoryInfo r in reps)
{
Repositories.Add(r.RepName, r);
}
Later on I'm getting info from the VaultRepositoryInfo objects that I've loaded into the SortedList Repositories.
Re: VaultRepositoryInfo members don't return data.
That call just doesn't fill in those values. (Filling in those values is expensive in terms of server effort and time.) We don't have a method in VaultClientIntegrationLib that would get them for you.