Display folder version

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

Moderator: SourceGear

Post Reply
Jackvn2000
Posts: 3
Joined: Mon May 09, 2011 9:37 am

Display folder version

Post by Jackvn2000 » Mon May 09, 2011 3:16 pm

I would like to display the latest version of a folder passing in the repository path or local path working folder, how can I achieve the solution?

Thanks, this is great product.

Jack

Jackvn2000
Posts: 3
Joined: Mon May 09, 2011 9:37 am

Re: Display folder version

Post by Jackvn2000 » Tue May 10, 2011 7:54 am

I found it.

VaultClientFolder folder = RepositoryUtil.FindVaultFolderAtReposOrLocalPath("$/RepositoryFolder");
long version = folder.Version;

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Display folder version

Post by Beth » Tue May 10, 2011 9:35 am

Thank you for the update. Other users may find this helpful.
Beth Kieler
SourceGear Technical Support

sergani
Posts: 1
Joined: Wed Oct 05, 2011 6:25 am
Contact:

Re: Display folder version

Post by sergani » Wed Oct 05, 2011 6:30 am

... and I'm one of them... Thank you, Jack
Mobile Booster
http://www.foyersruraux34.org/new/wakka ... GSMBooster - how to boost gsm signal in house or office

Post Reply