nsmcp::accessScanRangeLoad (private)

 nsmcp::accessScanRangeLoad file options limits

Defined in /usr/local/ns/tcl/nsmcp/examples/nsmcp-openacs-api-docs.tcl

Load previously committed source ranges into scan state. @return Range state.

Parameters:
file (required)
options (required)
limits (required)

Partial Call Graph (max 5 caller/called nodes):
nsmcp::accessScanRangeKey nsmcp::accessScanRangeKey nsmcp::accessScanRangeMature nsmcp::accessScanRangeMature nsmcp::accessScanRangeLoad nsmcp::accessScanRangeLoad nsmcp::accessScanRangeLoad->nsmcp::accessScanRangeKey nsmcp::accessScanRangeLoad->nsmcp::accessScanRangeMature

Testcases:
No testcase defined.
Source code:
    if {![dict get $file rotation] || [dict get $file offset]!=0 || ![accessScanRangeMature $file $limits]} {
        return {}
    }
    set key [accessScanRangeKey $file $options]
    set store nsmcp:access-time-ranges:[ns_info server]
    if {$key eq "" || ![nsv_exists $store $key]} {
        return {}
    }
    return [nsv_get $store $key]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: