342
342
interpreted relative to the process cwd, not relative to the
343
343
tree.* (Add and most other tree methods use tree-relative
346
346
path and kind of the path being added. It may return a file_id if
347
347
a specific one should be used.
349
349
this provides dry-run functionality by doing the add and not saving
351
351
:return: A tuple - files_added, ignored_files. files_added is the count
352
352
of added files, and ignored_files is a dict mapping files that were
353
353
ignored to the rule that caused them to be ignored.