-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/transport/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyc

ó
î:ïNc@@skdZddlmZddlmZmZdejfd„ƒYZdejfd„ƒYZ	d„Z
d	S(
sPImplementation of Transport that prevents access to locations above a set
root.
i(tabsolute_import(t
pathfiltertregister_transporttChrootServercB@s)eZdZd„Zd„Zd„ZRS(s(User space 'chroot' facility.

    The server's get_url returns the url for a chroot transport mapped to the
    backing transport. The url is of the form chroot-xxx:/// so parent
    directories of the backing transport are not visible. The chroot url will
    not allow '..' sequences to result in requests to the chroot affecting
    directories outside the backing transport.

    PathFilteringServer does all the path sanitation needed to enforce a
    chroot, so this is a simple subclass of PathFilteringServer that ignores
    filter_func.
    cC@stjj||dƒdS(N(RtPathFilteringServert__init__tNone(tselftbacking_transport((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyR+scC@s
t||ƒS(N(tChrootTransport(Rturl((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyt_factory.scC@s*dt|ƒ|_t|j|jƒdS(Ns
chroot-%d:///(tidtschemeRR(R((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pytstart_server1s(t__name__t
__module__t__doc__RRR(((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyRs		R	cB@seZdZd„ZRS(sAA ChrootTransport.

    Please see ChrootServer for details.
    cC@s
|j|ƒS(N(t_relpath_from_server_root(Rtrelpath((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyt_filter<s(RRRR(((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyR	6scC@s ddlm}t|jfgS(s.Return the permutations to be used in testing.i(ttest_server(tbzrlib.testsRR	tTestingChrootServer(R((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pytget_test_permutationsBsN(Rt
__future__Rtbzrlib.transportRRRRtPathFilteringTransportR	R(((s;/usr/lib/python2.7/dist-packages/bzrlib/transport/chroot.pyt<module>s


Copyright © 2017 || Recoded By Mr.Bumblebee