CachedUnit checkoutFile( StringData* path, const struct stat& statInfo, OptLog& ent, const Native::FuncTable& nativeFuncs, FileLoadFlags& flags ) { return RuntimeOption::RepoAuthoritative ? lookupUnitRepoAuth(path, nativeFuncs) : lookupUnitNonRepoAuth(path, &statInfo, ent, nativeFuncs, flags); }
CachedUnit checkoutFile(StringData* path, const struct stat& statInfo) { return RuntimeOption::RepoAuthoritative ? lookupUnitRepoAuth(path) : lookupUnitNonRepoAuth(path, statInfo); }