wokim / node-perforce

A simple library for perforce
MIT License
14 stars 13 forks source link

added p4 opened command wrapper #6

Closed mattsawyer77 closed 9 years ago

mattsawyer77 commented 9 years ago

I found a way to get more usable information from p4 opened ( the -ztag flag), so that I can (externally for now) transform the client file path into a local file path, along with output from p4 info. This pull request transforms the ztag output into an array of file info objects.

If you like the idea but you'd rather this method simply produce a list of filenames that are local, just reject this and I can implement it that way too.