/usr/lib/python2.6/site-packages/boto/file
NameSizeModeActions
bucket.py40850644editdlrm
bucket.pyc38590644editdlrm
bucket.pyo38590644editdlrm
connection.py14900644editdlrm
connection.pyc8870644editdlrm
connection.pyo8870644editdlrm
key.py68820644editdlrm
key.pyc63400644editdlrm
key.pyo63400644editdlrm
README26440644editdlrm
simpleresultset.py13210644editdlrm
simpleresultset.pyc7440644editdlrm
simpleresultset.pyo7440644editdlrm
__init__.py12580644editdlrm
__init__.pyc4120644editdlrm
__init__.pyo4120644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/file/bucket.pyo (3859B)
Ñò Å-õSc@sVddkZddklZddklZddklZdefd„ƒYZdS(iÿÿÿÿN(tKey(tSimpleResultSet(tBucketListResultSettBucketcBsheZd„Zd„Zd„Zdddd„Zdd„Zddei d„Z dei d„Z RS(cCs||_||_dS(sHInstantiate an anonymous file-based Bucket around a single key. N(tnamet contained_key(tselfRR((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyt__init__s cCstt|ƒƒS(N(titerR(R((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyt__iter__%scCs d|iS(Nsanonymous bucket for file://(R(R((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyt__str__(scCsti|ƒdS(s< Deletes a key from the bucket. :type key_name: string :param key_name: The key name to delete :type version_id: string :param version_id: Unused in this subclass. :type mfa_token: tuple or list of strings :param mfa_token: Unused in this subclass. N(tostremove(Rtkey_nametheaderst version_idt mfa_token((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyt delete_key+scKs"t|i|iƒ}t|gƒS(sÛ This method returns the single key around which this anonymous Bucket was instantiated. :rtype: SimpleResultSet :return: The result from file system listing the keys requested (RRRR(RRtparamstkey((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyt get_all_keys;s cCsM|djot|iddtiƒSt|dƒ}t|i||ƒSdS(s Check to see if a particular key exists within the bucket. Returns: An instance of a Key object or None :type key_name: string :param key_name: The name of the key to retrieve :type version_id: string :param version_id: Unused in this subclass. :type stream_type: integer :param stream_type: Type of the Key - Regular File or input/output Stream :rtype: :class:`boto.file.key.Key` :returns: A Key object from this bucket. t-tkey_typetrbN(RRtKEY_STREAM_READABLEtopen(RR RRRtfp((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pytget_keyGs cCs‹|djot|iddtiƒStii|ƒ}|o%tii|ƒ oti|ƒnt|dƒ}t|i||ƒSdS(sä Creates a new key :type key_name: string :param key_name: The name of the key to create :rtype: :class:`boto.file.key.Key` :returns: An instance of the newly created key object RRtwbN( RRtKEY_STREAM_WRITABLER tpathtdirnametexiststmakedirsR(RR Rtdir_nameR((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pytnew_key_s N( t__name__t __module__RR R tNoneRRRtKEY_REGULAR_FILERR#(((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyRs    ( R t boto.file.keyRtboto.file.simpleresultsetRtboto.s3.bucketlistresultsetRtobjectR(((s4/usr/lib/python2.6/site-packages/boto/file/bucket.pyts