dhoskinAdd open stub.9ef680313 years agoHistory
31 lines · 746 B · JavaScript
RawDownload
NineP.QTDIR = 0x80;NineP.QTAPPEND = 0x40;NineP.QTEXCL = 0x20;NineP.QTMOUNT = 0x10;NineP.QTAUTH = 0x08;NineP.QTTMP = 0x04;NineP.QTFILE = 0x00; NineP.DMDIR = 0x80000000;NineP.DMAPPEND = 0x40000000;NineP.DMEXCL = 0x20000000;NineP.DMTMP = 0x04000000; NineP.Qid = function(path, vers, type, callback){	this.path = path;	this.vers = vers;	this.type = type;	this.callback = callback;} NineP.Qid.prototype.toString = function(){	return "{path: " + this.path + "; vers: " + this.vers + "; type: " + this.type + ";}";} NineP.Qid.prototype.toWireQid = function(){	var buf = [];	buf = buf.concat(NineP.PBIT8([], this.type));	buf = buf.concat(NineP.PBIT32([], this.vers));	buf = buf.concat(NineP.PBIT64([], this.path));	return buf;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t