nsmcp::LogDiscovery method describePath (protected)

 <instance of nsmcp::LogDiscovery[i]> describePath path origin

Defined in /usr/local/ns/tcl/nsmcp/lib/log-discovery.tcl

Parameters:
path (required)
origin (required)

Testcases:
No testcase defined.
Source code:
if {$path eq ""} {
    return [dict create path {} origin $origin exists false readable false]
}
if {[file pathtype $path] ne "absolute"} {
    error "log discovery requires an absolute effective path"
}
set path [file normalize $path]
return [dict create path $path origin $origin exists [file isfile $path]  readable [expr {[file isfile $path] && [file readable $path]}]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: