// other direction (index, then pack file).
//
final String wt = "Put " + base.substring(0, 12); //$NON-NLS-1$
OutputStream os = dest.writeFile(pathPack, monitor, wt + "..pack"); //$NON-NLS-1$
try {
os = new SafeBufferedOutputStream(os);
writer.writePack(monitor, monitor, os);
} finally {
os.close();
}
os = dest.writeFile(pathIdx, monitor, wt + "..idx"); //$NON-NLS-1$
try {
os = new SafeBufferedOutputStream(os);
writer.writeIndex(os);
} finally {
os.close();
}