This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
fs+rednet+shell = ccSVN
Started by justync7, 24 July 2012 - 04:35 AMPosted 24 July 2012 - 06:35 AM
So, Im Trying To Make A SVN Type Thing For ComputerCraft But I Cant Seem To Find Out How To Open The Source Of A File… Any Help?
Posted 24 July 2012 - 06:46 AM
A few pointers:
You don't need to capitalize every word you write; just the first word of each sentence will suffice.
The program library is for completed programs.
io.open(filepath).
Check out the io API on the computercraft wiki.
You don't need to capitalize every word you write; just the first word of each sentence will suffice.
The program library is for completed programs.
io.open(filepath).
Check out the io API on the computercraft wiki.
Posted 24 July 2012 - 06:50 AM
What do you mean by open the source of the file? Do you mean receive the file over rednet?
Posted 24 July 2012 - 06:56 AM
I know programs is from completed versions its just a placeholder.
And I think io.open might work ill try it.
And I think io.open might work ill try it.
Posted 24 July 2012 - 09:20 AM
fs.open() is a bit easier..
As for the SVN part where to goes to the server (online) use the http api.. GL + HF learning that fully.
As for the SVN part where to goes to the server (online) use the http api.. GL + HF learning that fully.
Posted 24 July 2012 - 06:33 PM
This isnt a actual SVN its a InGame SVN :/
Posted 24 July 2012 - 07:38 PM
Yes!! I got it working and the thread will be unlocked and it will be released soon!
Posted 24 July 2012 - 08:13 PM
Saw the post, code looks promising.