public interface VCSForbiddenFolderProvider
Modifier and Type | Method and Description |
---|---|
boolean |
isForbiddenFolder(VCSFileProxy folder)
Some folders are special and versioning should not look for metadata in
them.
|
boolean isForbiddenFolder(VCSFileProxy folder)
VCSFileProxy.exists("/net/.git")
will freeze until it timeouts.
This method is called from org.netbeans.modules.versioning.core.util.Utils.isForbiddenFolder()
This does not mean however that whole subtree should be excluded from version control,
only that you should not look for the metadata directly in this folder.
Returns true
if the given folder is among such folders.folder
- a folder to querytrue
if the given folder should be skipped when
searching for metadata.