I want to programmatically find out if the workspace has the latest files. I do not want to do Workspace.Get(), because it fulfills the equivalent of "Get the Last." I just want to know if my workspace needs "Get Latest" or not.
I do this check during build. I plan to have a method like this:
public static bool HasLatestFiles(Workspace ws)
{
bool hasChanges = false;
return hasChanges;
}
What is the correct code to use?
source
share