Name

HitCount — increment a counter on every catalog access

SYNOPSIS

No | Yes

DESCRIPTION

Specify whether the catalog counter file should be increased on every access to the catalog.

The counter filename will be hits.catalog_name, placed in the ICROOT/etc/ directory.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Enabling HitCount

HitCount Yes

NOTES

AVAILABILITY

HitCount is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 474

['HitCount',     'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

TrackFile(7ic)

DocBook! Interchange!