Scott T. Hardin > Connector > Connector::Proxy::Config::Versioned

Download:
Connector-1.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

Connector::Proxy::Config::Versioned

Fetch values ftom the underlying Config::Versioned repository. On init, the commit id of the head is written into the local version property and all further queries are done against this commit id. You can set the version to be used at any time by passing the commit id (sha1 hash) to version.

To advance to the head commit of the underlying repository, use fetch_head_commit to get the id of the head and set it using version

methods ^

fetch_head_commit

Receive the sha1 commit id of the topmost commit of the underlying repository.

version get/set the value of the version used for all get* requests.

syntax highlighting: