This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc nsmcp::accessScanUnchanged {file} {
    
    set path [dict get $file path]
    file stat $path st
    set f [open $path rb]
    try {
        set prefix [read $f [string length [dict get $file prefix]]]
    } finally {
        close $f
    }
    # Appends to the active log are outside the fixed snapshot and permitted.
    if {[list $st(dev) $st(ino)] ne [dict get $file identity] || $st(size)<[dict get $file size]
        || (([dict get $file compressed] || [dict get $file rotation]) && $st(size)!=[dict get $file size])
        || ([dict get $file rotation] && [dict exists $file ctime] && $st(ctime)!=[dict get $file ctime])
        || ($st(size)==[dict get $file size] && $st(mtime)!=[dict get $file mtime])
        || $prefix ne [dict get $file prefix]} {
        error "access-log snapshot changed"
    }

}

Show another procedure: