Filtering files that are compared

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

Moderator: SourceGear

Post Reply
bvcrim
Posts: 2
Joined: Fri Feb 10, 2012 1:47 pm

Filtering files that are compared

Post by bvcrim » Fri Feb 10, 2012 1:51 pm

I'm using the suffix filter currently, but am wondering if that is the only way to filter out the files that get compared using the CompareTo API call for VB.net?
I'd like to exclude the Designer.vb files, but since they have the same extension as the code behind .vb files I can't.

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

Re: Filtering files that are compared

Post by Beth » Mon Feb 13, 2012 9:16 am

I'm still looking into this, but I think that is the only way to filter out the files.
Beth Kieler
SourceGear Technical Support

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

Re: Filtering files that are compared

Post by Beth » Wed Feb 15, 2012 6:11 pm

Are you performing the filtering through Diff/Merge, or where exactly?
Beth Kieler
SourceGear Technical Support

bvcrim
Posts: 2
Joined: Fri Feb 10, 2012 1:47 pm

Re: Filtering files that are compared

Post by bvcrim » Tue Feb 21, 2012 2:35 pm

I ended up filtering the files out after the compare has completed.

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

Re: Filtering files that are compared

Post by Beth » Tue Feb 21, 2012 2:42 pm

Thanks for the update.
Beth Kieler
SourceGear Technical Support

Post Reply