For given directory path, substitute it to valid index file. Return 0 if index file has been found, -1 if not found. If the file is found, it's stats is returned in stp.
source not stored for this graph (policy: none)
no test coverage detected