node.js - Load `svn export` output into Vinyl stream -
for gulp task, need manipulate versioned files (and those) in subversion working copy. since i'm not aware of plug-in can filter out unversioned files gulp pipe i'm using child_process.execfilesync()
run regular svn export
command , files in temporary directory. feed diredtory gulp.src()
.
it works , it's not particularly slow i'm wondering... there way skip file system entirely , create stream of vinyl files right svn export
?
svn ls [-r] ...
you have filter pure directory-nodes output, but... nodes without subtrees in have clean output without costly file-operations
Comments
Post a Comment