GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JIFTY::CAS::BLOB (3)

.ds Aq ’

NAME

Jifty::CAS::Blob - An object in Jifty’s content-addressed store

CONTENTS

SYNOPSIS



  my $blob = Jifty::CAS->retrieve(js, $key);
  my $content = $blob->content;
  my $meta = $blob->metadata;
  my $key = $blob->key;



DESCRIPTION

Objects in the content-addressed store can have arbitrary metadata associated with them, in addition to storing their contents.

METHODS

    new HASHREF

Takes a HASHREF, with possible keys content and metadata, and creates a new object. Possible special keys in the metadata include:
hash_with Provides the data to hash to generate the address. If no hash_with is provided, the content itself is hashed.

    content

Returns the content of the blob.

    metadata

Returns a hashref of metadata.

    key

Returns the key calculated for this content.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::CAS::BLOB (3) 2010-12-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.