create_blob_from_file


Description:

public OId create_blob_from_file (File file) throws Error

Write a file to the object database as a blob.

Returns (transfer full) (nullable): the new GgitOid of the written blob, or null if writing the blob failed.

Parameters:

this

a Repository.

file

a File.