Skip to content

Commit

Permalink
Disabled INode
Browse files Browse the repository at this point in the history
  • Loading branch information
muit committed Aug 7, 2024
1 parent cd0fcfd commit 7b842dd
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Src/PipeFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,16 +507,17 @@ namespace p

FileStatusMap::Iterator DirectorySnapshot::NodeInFiles(FileStatus& fi)
{
#if P_PLATFORM_WINDOWS == 0 // Is INode supported?
FileStatusMap::Iterator it;
for (it = files.begin(); it != files.end(); it++)
{
if (it->second.Inode == Other.Inode && it->second.filePath != fi.filePath)
{
return it;
}
}
#endif
// TODO: Implement inode support
// #if P_PLATFORM_WINDOWS == 0 // Is INode supported?
// FileStatusMap::Iterator it;
// for (it = files.begin(); it != files.end(); it++)
// {
// if (it->second.Inode == Other.Inode && it->second.filePath != fi.filePath)
// {
// return it;
// }
// }
// #endif
return files.end();
}

Expand Down

0 comments on commit 7b842dd

Please sign in to comment.