(allowEmpty bool)
| 116 | } |
| 117 | |
| 118 | func (node *Node) closeParts(allowEmpty bool) (err error) { |
| 119 | // Second param says we will allow empty parts in merging of those parts, true for variable length parts |
| 120 | // This is an asynchronous action that will update node in DB when completed, or send error to node.File.Locked.Error |
| 121 | node.File.Locked = locker.FileLockMgr.Add(node.Id) |
| 122 | go SetFileFromParts(node.Id, node.Parts.Compression, node.Parts.Count, allowEmpty) |
| 123 | return |
| 124 | } |
no test coverage detected