There should be an easy way to upload source files to the snippets DB. Just put it up there, figure out what it is later.
Stuff to transmit:
-file contents
-file name
-path (probably a shortened one, not the full local path)
Also, of course, user ID and date, but TB will add that automatically.
First implementation idea:
-Use a new snippet type (Source file)
-Snippet name = path + file name
-Content = actual file contents
Further implementation details:
-Command in TB interpreter is: upload src//<path-to-file>
-Outputs snippet ID
Second step:
-Show if file with same contents is in DB already.
-Or a file with same path.
-Or both? Then probably it's not wise to upload again. A brain might actually know.
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt