def create_directory(self, name):
        check_filename(name)
        log.info('Creating directory %s in %s', repr(name), repr(self.path))

        qname = quote(name)
        with self.sub_tree as st:
            child_ls_blob = st.new_blob(qname + '.ls')
        with self.ls_blob as b:
            b.data += "%s /\n" % qname

        self.storage._autocommit()

        return self[name]
dataset/ETHPy150Open mgax/SpaghettiFS/spaghettifs/storage.py/StorageDir.create_directory/original