Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Urgent | CSArea compare method Issue
dolly1
Hi,
I am trying to compare two CSArea. I am using CSSDK and compare method. It has the following format:
CSFileCmpResult[] compare(CSAreaRelativePath[] filePaths,
CSArea toArea,
int compareFlags,
boolean recurseFolders)
I am giving true for recurseFolders still the result contains directory paths and not in the files inside it. Below is the description of recurseFolders. Based on that it should give me files and not the directories. Is this a bug? Has anyone faced the same issue? Please help.
recurseFolders - true to recurse directories in this area for the comparison, or false not to. If false, the return array contains directory names if they satisfy the type of compare specified in compareFlags, without including the directory's files.
Find more posts tagged with
Comments
kalai
Use the directory path and recursively get the files and compare it. I am not sure whether this is bug or not.