Logo Search packages:      
Sourcecode: obnam version File versions  Download package

def obnamlib::repo::Repository::create (   self,
  filename,
  metadata 
)
Create a new (empty) file in the new generation.

Definition at line 506 of file repo.py.

                                        :
        '''Create a new (empty) file in the new generation.'''
        self.require_started_generation()
        encoded = obnamlib.encode_metadata(metadata)
        self.client.create(filename, encoded)


Generated by  Doxygen 1.6.0   Back to index