Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Jifty::CAS::Blob(3)   User Contributed Perl Documentation  Jifty::CAS::Blob(3)

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

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.

perl v5.24.1			  2013-01-29		   Jifty::CAS::Blob(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Jifty::CAS::Blob&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help