Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // wuuzzaa
- function table(opt, io){
- /*{
- 'files':[{
- 'name':[{
- 'name':'filename.php',
- 'path': 'path/to/file',
- 'size':95458756, //bytes
- 'owners':[1,7,23], // user-id from site
- 'rev':6
- }],
- //...........................
- //...........................
- //...........................
- }
- ]
- }*/
- var files = {}, // object of all files.
- /*{
- prevs':[{
- 'prevs':[{
- 'name':'filename.php',
- 'path': 'path/to/file',
- }]
- }
- ]
- }*/
- prevs = {}; // cto
- this.get_file = function(path, filename, owner){
- }
- this.get_owner_trust = function(path, filename){
- }
- this.update_clients_file = function(client, path, filename){
- }
- }
- // magic is over :P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement