Lists the files/directories containing changes within a commit range. This function is useful when building a monorepo (monolithic repository) to determine which services have changes.
pathis the file system path to a git repository.
resourceis the name of the gitRepo resource.
commit-rangeoption specifies the range of commits to look for changes (Example:
directories-onlyoption lists only the directories containing changes.
depthoption returns file/folder at certain depth. Root directory has depth value 1.