check_merge_conflicts#

barecat.Index.check_merge_conflicts(prefix)[source]#

Check for file/directory conflicts with attached sourcedb.

Must be called while sourcedb is attached.

Parameters:

prefix (str) – Path prefix to prepend to source paths (empty string for no prefix).

Returns:

SQL expression for transforming source paths with prefix.

Raises:

ValueError – If file/directory path conflicts exist.

Return type:

str