Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] linked file clarification

Hiya,

I've come across a linked resource example that I couldn't resolve using 
the docs.

Let's say I create a linked file in a project.  Assume that I pass in 
ALLOW_MISSING_LOCAL during link creation and that the file I've linked to 
does not exist.

After the setup, I create a file in the filesystem at the path specified 
by the linked file in the Workspace.

If I call IResource.isSyncrhonized(int) on the linked file, should it 
answer true?  This is tricky because being out of sync is different than 
not existing.  Do I need to call IResource.exists() before the 
isSynchronized() to catch all cases?

jkca


Back to the top