MCPcopy
hub / github.com/daptin/daptin / copyFileMetadata

Function copyFileMetadata

server/resource/resource_update.go:1232–1238  ·  view source on GitHub ↗
(file map[string]interface{})

Source from the content-addressed store, hash-verified

1230}
1231
1232func copyFileMetadata(file map[string]interface{}) map[string]interface{} {
1233 copiedFile := make(map[string]interface{}, len(file))
1234 for key, value := range file {
1235 copiedFile[key] = value
1236 }
1237 return copiedFile
1238}
1239
1240func (dbResource *DbResource) UpdateWithTransaction(obj interface{}, req api2go.Request, transaction *sqlx.Tx) (api2go.Responder, error) {
1241 data, _ := obj.(api2go.Api2GoModel)

Callers 1

mergeCloudStoreFileSetFunction · 0.85

Calls 1

makeFunction · 0.85

Tested by

no test coverage detected