// Deletes a specified file from a specified branch. A commit is created on the
// branch that contains the revision. The file still exists in the commits earlier
// to the commit that contains the deletion.
Deletes a specified file from a specified branch. A commit is created on the
branch that contains the revision. The file still exists in the commits earlier
to the commit that contains the deletion.
// Deletes a specified file from a specified branch . A commit is created on the // branch that contains the revision . The file still exists in the commits earlier // to the commit that contains the deletion .
func (c *Client) DeleteFile(ctx context.Context, params *DeleteFileInput, optFns ...func(*Options)) (*DeleteFileOutput, error) {
	if params == nil {
		params = &DeleteFileInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteFile", params, optFns, addOperationDeleteFileMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteFileOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteFile ( ctx context . Context , params * DeleteFileInput , optFns ... func ( * Options ) ) ( * DeleteFileOutput , error ) { if params == nil { params = & DeleteFileInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteFileMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteFileOutput ) out . ResultMetadata = metadata return out , nil }
Deletes a specified file from a specified branch.
Deletes a specified file from a specified branch .