use of org.apache.maven.wagon.LazyFileOutputStream in project wagon-git by synergian.
the class GitWagon method fillOutputData.
/**
* {@inheritDoc}
*/
public void fillOutputData(OutputData outputData) throws TransferFailedException {
log.debug("Invoked fillOutputData()");
Resource resource = outputData.getResource();
File file = new File(git.workDir, resource.getName());
createParentDirectories(file);
OutputStream outputStream = new BufferedOutputStream(new LazyFileOutputStream(file));
outputData.setOutputStream(outputStream);
}
Aggregations