Vault Standard and API (dll) Usage

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear


Posts: 10
Joined: Wed Apr 08, 2015 6:36 am
PostPosted: Mon Sep 26, 2016 7:40 am
Trying to figure out how to get a list of changed items in c# (Not in Working Folder Yet) in "$" Root, or subfolder, or single item.

What would be the syntax and return structure/Items?

Posts: 8418
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Mon Sep 26, 2016 8:46 am
You'll want to perform a history query and you can filter by date to get all historical actions since a certain date.

The second post in this thread asks about folder history, so the responses there should help: viewtopic.php?f=31&t=8020.


Show folder history: viewtopic.php?f=31&t=15608&p=62664&hilit=folder+history#p62664

(Moved your post to the development area. Check here for more API tips: viewforum.php?f=39 )
Beth Kieler
SourceGear Technical Support

Posts: 10
Joined: Wed Apr 08, 2015 6:36 am
PostPosted: Mon Sep 26, 2016 10:41 am
What I want is a delta of What is newer than what currently exists in my working folder, according to Vault's Cache. I don't think its reliable to check Time/Date stamps on local files then compare with history.

Posts: 8418
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Mon Sep 26, 2016 1:23 pm
It sounds like what you want is the status of the files like we have in the Vault GUI client, right? When something in Vault is newer than what is on a person's disk, the status becomes Old.

Is that the kind of thing you are looking for?

In the Vault GUI client, there is also an option to do a CRC check to determine status. If the first option isn't it, then is this the option you're looking for?

Another option we have is the Folder Changes Archive that is used to get everything that has changes since a certain date. If this what you want to eventually do?

If none of these fit can you tell me how you are wanting to ultimately accomplish?
Beth Kieler
SourceGear Technical Support

Return to Questions (API)

Who is online

Users browsing this forum: No registered users and 1 guest

cron