Source for a apt package can be obtained with the command:
apt-get source foo
This produces a directory with four entries in it: a directory of source and three files, foo*****.dsc, foo*****.tar.gz and foo*****.diff.gz.
Assume that the directory of source is corrupted, can these files be used to recreate it? ( As I assume it can. )