MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / setUnmodified

Function setUnmodified

src/OSspecific/POSIX/fileMonitor.C:611–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610
611void Foam::fileMonitor::setUnmodified(const label watchFd)
612{
613 state_[watchFd] = UNMODIFIED;
614 localState_[watchFd] = UNMODIFIED;
615
616 if (!useInotify_)
617 {
618 watcher_->lastMod_[watchFd] = highResLastModified(watchFile_[watchFd]);
619 }
620}
621
622
623// ************************************************************************* //

Callers

nothing calls this directly

Calls 1

highResLastModifiedFunction · 0.70

Tested by

no test coverage detected