Finished. Completed a task. ‘Sew’ implies that things were loose or incomplete and now they have been finished for use. (Compare to Tie up loose strings.)
“At the end of the detective movie, the police said the murder details had been sewn up and the file closed.”