SYMBOL INDEX (6397 symbols across 288 files) FILE: backend/backend.go type VersionInfo (line 24) | type VersionInfo interface type Backend (line 31) | type Backend interface function ForwardLogByName (line 39) | func ForwardLogByName(name string, w io.Writer) error { function FromName (line 52) | func FromName(name, path, fingerprint string) (Backend, error) { function Version (line 73) | func Version(name, path string) VersionInfo { FILE: backend/httpipfs/gc.go method GC (line 17) | func (nd *Node) GC() ([]h.Hash, error) { FILE: backend/httpipfs/gc_test.go function TestGC (line 11) | func TestGC(t *testing.T) { FILE: backend/httpipfs/io.go function cat (line 16) | func cat(s *shell.Shell, path string, offset int64) (io.ReadCloser, erro... type streamWrapper (line 31) | type streamWrapper struct method Read (line 41) | func (sw *streamWrapper) Read(buf []byte) (int, error) { method WriteTo (line 54) | func (sw *streamWrapper) WriteTo(w io.Writer) (int64, error) { method cachedSize (line 61) | func (sw *streamWrapper) cachedSize() (int64, error) { method getAbsOffset (line 89) | func (sw *streamWrapper) getAbsOffset(offset int64, whence int) (int64... method Seek (line 112) | func (sw *streamWrapper) Seek(offset int64, whence int) (int64, error) { method Cat (line 142) | func (nd *Node) Cat(hash h.Hash) (mio.Stream, error) { method Add (line 158) | func (nd *Node) Add(r io.Reader) (h.Hash, error) { FILE: backend/httpipfs/io_test.go function TestAddCatBasic (line 14) | func TestAddCatBasic(t *testing.T) { function TestAddCatSize (line 36) | func TestAddCatSize(t *testing.T) { FILE: backend/httpipfs/net.go type connWrapper (line 22) | type connWrapper struct method LocalAddr (line 31) | func (cw *connWrapper) LocalAddr() net.Addr { method RemoteAddr (line 38) | func (cw *connWrapper) RemoteAddr() net.Addr { method Close (line 45) | func (cw *connWrapper) Close() error { method Dial (line 52) | func (nd *Node) Dial(peerHash, fingerprint, protocol string) (net.Conn, ... function forward (line 103) | func forward(sh *shell.Shell, protocol, targetAddr, peerID string) error { function openListener (line 122) | func openListener(sh *shell.Shell, protocol, targetAddr string) error { function closeStream (line 139) | func closeStream(sh *shell.Shell, protocol, targetAddr, listenAddr strin... type addrWrapper (line 165) | type addrWrapper struct method Network (line 170) | func (sa *addrWrapper) Network() string { method String (line 174) | func (sa *addrWrapper) String() string { type listenerWrapper (line 178) | type listenerWrapper struct method Accept (line 187) | func (lw *listenerWrapper) Accept() (net.Conn, error) { method Addr (line 202) | func (lw *listenerWrapper) Addr() net.Addr { method Close (line 209) | func (lw *listenerWrapper) Close() error { function buildLocalAddrPath (line 215) | func buildLocalAddrPath(id, fingerprint string) string { function readLocalAddr (line 219) | func readLocalAddr(id, fingerprint string) (string, error) { function deleteLocalAddr (line 229) | func deleteLocalAddr(id, fingerprint string) error { function writeLocalAddr (line 234) | func writeLocalAddr(id, fingerprint, addr string) error { method Listen (line 240) | func (nd *Node) Listen(protocol string) (net.Listener, error) { type pinger (line 290) | type pinger struct method LastSeen (line 301) | func (p *pinger) LastSeen() time.Time { method Roundtrip (line 310) | func (p *pinger) Roundtrip() time.Duration { method Err (line 318) | func (p *pinger) Err() error { method Close (line 326) | func (p *pinger) Close() error { method update (line 335) | func (p *pinger) update(ctx context.Context, addr, self string) { method Run (line 361) | func (p *pinger) Run(ctx context.Context, addr string) error { function ping (line 380) | func ping(sh *shell.Shell, peerID string) (time.Duration, error) { method Ping (line 414) | func (nd *Node) Ping(addr string) (netBackend.Pinger, error) { FILE: backend/httpipfs/net_test.go constant TestProtocol (line 13) | TestProtocol = "/brig/test/1.0" function testClientSide (line 20) | func testClientSide(t *testing.T, ipfsPathB string, addr string) { function TestDialAndListen (line 35) | func TestDialAndListen(t *testing.T) { function TestPing (line 63) | func TestPing(t *testing.T) { function TestDialAndListenOnSingleNode (line 94) | func TestDialAndListenOnSingleNode(t *testing.T) { function TestPingSelf (line 122) | func TestPingSelf(t *testing.T) { FILE: backend/httpipfs/pin.go method IsPinned (line 14) | func (nd *Node) IsPinned(hash h.Hash) (bool, error) { method Pin (line 49) | func (nd *Node) Pin(hash h.Hash) error { method Unpin (line 54) | func (nd *Node) Unpin(hash h.Hash) error { type objectRef (line 62) | type objectRef struct type Link (line 69) | type Link struct method IsCached (line 76) | func (nd *Node) IsCached(hash h.Hash) (bool, error) { method CachedSize (line 123) | func (nd *Node) CachedSize(hash h.Hash) (int64, error) { FILE: backend/httpipfs/pin_test.go function TestPinUnpin (line 12) | func TestPinUnpin(t *testing.T) { function TestIsCached (line 41) | func TestIsCached(t *testing.T) { FILE: backend/httpipfs/pubsub.go type subWrapper (line 10) | type subWrapper struct method Next (line 26) | func (s *subWrapper) Next(ctx context.Context) (eventsBackend.Message,... method Close (line 35) | func (s *subWrapper) Close() error { type msgWrapper (line 14) | type msgWrapper struct method Data (line 18) | func (msg *msgWrapper) Data() []byte { method Source (line 22) | func (msg *msgWrapper) Source() string { method Subscribe (line 42) | func (nd *Node) Subscribe(ctx context.Context, topic string) (eventsBack... method PublishEvent (line 56) | func (nd *Node) PublishEvent(topic string, data []byte) error { FILE: backend/httpipfs/pubsub_test.go function TestPubSub (line 11) | func TestPubSub(t *testing.T) { FILE: backend/httpipfs/resolve.go method PublishName (line 19) | func (nd *Node) PublishName(name string) error { method Identity (line 32) | func (nd *Node) Identity() (peer.Info, error) { function findProvider (line 60) | func findProvider(ctx context.Context, sh *shell.Shell, hash h.Hash) ([]... method ResolveName (line 114) | func (nd *Node) ResolveName(ctx context.Context, name string) ([]peer.In... FILE: backend/httpipfs/resolve_test.go function TestPublishResolve (line 12) | func TestPublishResolve(t *testing.T) { FILE: backend/httpipfs/shell.go type IpfsStateCache (line 27) | type IpfsStateCache struct type Node (line 33) | type Node struct method IsOnline (line 160) | func (nd *Node) IsOnline() bool { method Connect (line 169) | func (nd *Node) Connect() error { method Disconnect (line 178) | func (nd *Node) Disconnect() error { method isOnline (line 186) | func (nd *Node) isOnline() bool { method Close (line 194) | func (nd *Node) Close() error { method Name (line 199) | func (nd *Node) Name() string { function getExperimentalFeatures (line 44) | func getExperimentalFeatures(sh *shell.Shell) (map[string]bool, error) { type Option (line 70) | type Option function WithNoLogging (line 74) | func WithNoLogging() Option { function toMultiAddr (line 80) | func toMultiAddr(ipfsPathOrMultiaddr string) (ma.Multiaddr, error) { function NewNode (line 99) | func NewNode(ipfsPathOrMultiaddr string, fingerprint string, opts ...Opt... FILE: backend/httpipfs/testing.go function WithIpfs (line 17) | func WithIpfs(t *testing.T, portOff int, fn func(t *testing.T, ipfsPath ... function WithDoubleIpfs (line 68) | func WithDoubleIpfs(t *testing.T, portOff int, fn func(t *testing.T, ipf... FILE: backend/httpipfs/testing_test.go function TestIpfsStartup (line 11) | func TestIpfsStartup(t *testing.T) { function TestDoubleIpfsStartup (line 24) | func TestDoubleIpfsStartup(t *testing.T) { FILE: backend/httpipfs/version.go type VersionInfo (line 4) | type VersionInfo struct method SemVer (line 9) | func (v *VersionInfo) SemVer() string { return v.semVer } method Name (line 12) | func (v *VersionInfo) Name() string { return v.name } method Rev (line 15) | func (v *VersionInfo) Rev() string { return v.rev } method Version (line 18) | func (n *Node) Version() *VersionInfo { FILE: backend/mock/mock.go type Backend (line 11) | type Backend struct function NewMockBackend (line 21) | func NewMockBackend(path, owner string) *Backend { type VersionInfo (line 31) | type VersionInfo struct method SemVer (line 36) | func (v *VersionInfo) SemVer() string { return v.semVer } method Name (line 39) | func (v *VersionInfo) Name() string { return v.name } method Rev (line 42) | func (v *VersionInfo) Rev() string { return v.rev } function Version (line 45) | func Version() *VersionInfo { FILE: bench/bench.go type Run (line 30) | type Run struct type Runs (line 37) | type Runs method Average (line 40) | func (runs Runs) Average() Run { type Bench (line 56) | type Bench interface function withRunStats (line 77) | func withRunStats(size int64, fn func() (int64, error)) (*Run, error) { type memcpyBench (line 94) | type memcpyBench struct method SupportHints (line 100) | func (n memcpyBench) SupportHints() bool { return false } method CanBeVerified (line 102) | func (n memcpyBench) CanBeVerified() bool { return true } method Bench (line 104) | func (n memcpyBench) Bench(hint hints.Hint, size int64, r io.Reader, v... method Close (line 114) | func (n memcpyBench) Close() error { return nil } function newMemcpyBench (line 96) | func newMemcpyBench(_ string, _ bool) (Bench, error) { type serverCommon (line 118) | type serverCommon struct method Close (line 145) | func (sc *serverCommon) Close() error { function newServerCommon (line 123) | func newServerCommon(ipfsPath string) (*serverCommon, error) { type serverStageBench (line 151) | type serverStageBench struct method SupportHints (line 164) | func (s *serverStageBench) SupportHints() bool { return true } method CanBeVerified (line 166) | func (s *serverStageBench) CanBeVerified() bool { return false } method Bench (line 168) | func (s *serverStageBench) Bench(hint hints.Hint, size int64, r io.Rea... method Close (line 185) | func (s *serverStageBench) Close() error { function newServerStageBench (line 155) | func newServerStageBench(ipfsPath string, _ bool) (Bench, error) { type serverCatBench (line 189) | type serverCatBench struct method SupportHints (line 202) | func (s *serverCatBench) SupportHints() bool { return true } method CanBeVerified (line 204) | func (s *serverCatBench) CanBeVerified() bool { return true } method Bench (line 206) | func (s *serverCatBench) Bench(hint hints.Hint, size int64, r io.Reade... method Close (line 233) | func (s *serverCatBench) Close() error { function newServerCatBench (line 193) | func newServerCatBench(ipfsPath string, _ bool) (Bench, error) { type mioWriterBench (line 239) | type mioWriterBench struct method SupportHints (line 245) | func (m *mioWriterBench) SupportHints() bool { return true } method CanBeVerified (line 247) | func (m *mioWriterBench) CanBeVerified() bool { return false } method Bench (line 249) | func (m *mioWriterBench) Bench(hint hints.Hint, size int64, r io.Reade... method Close (line 261) | func (m *mioWriterBench) Close() error { function newMioWriterBench (line 241) | func newMioWriterBench(_ string, _ bool) (Bench, error) { type mioReaderBench (line 267) | type mioReaderBench struct method SupportHints (line 273) | func (m *mioReaderBench) SupportHints() bool { return true } method CanBeVerified (line 275) | func (m *mioReaderBench) CanBeVerified() bool { return true } method Bench (line 277) | func (m *mioReaderBench) Bench(hint hints.Hint, size int64, r io.Reade... method Close (line 311) | func (m *mioReaderBench) Close() error { function newMioReaderBench (line 269) | func newMioReaderBench(_ string, _ bool) (Bench, error) { type ipfsAddOrCatBench (line 317) | type ipfsAddOrCatBench struct method SupportHints (line 326) | func (ia *ipfsAddOrCatBench) SupportHints() bool { return false } method CanBeVerified (line 328) | func (ia *ipfsAddOrCatBench) CanBeVerified() bool { return !ia.isAdd } method Bench (line 330) | func (ia *ipfsAddOrCatBench) Bench(hint hints.Hint, size int64, r io.R... method Close (line 360) | func (ia *ipfsAddOrCatBench) Close() error { function newIPFSAddBench (line 322) | func newIPFSAddBench(ipfsPath string, isAdd bool) (Bench, error) { type fuseWriteOrReadBench (line 366) | type fuseWriteOrReadBench struct method SupportHints (line 411) | func (fb *fuseWriteOrReadBench) SupportHints() bool { return true } method CanBeVerified (line 413) | func (fb *fuseWriteOrReadBench) CanBeVerified() bool { return !fb.isWr... method Bench (line 415) | func (fb *fuseWriteOrReadBench) Bench(hint hints.Hint, size int64, r i... method Close (line 471) | func (fb *fuseWriteOrReadBench) Close() error { function newFuseWriteOrReadBench (line 375) | func newFuseWriteOrReadBench(ipfsPath string, isWrite bool) (Bench, erro... function ByName (line 516) | func ByName(name, ipfsPath string) (Bench, error) { function BenchmarkNames (line 527) | func BenchmarkNames() []string { FILE: bench/inputs.go type Verifier (line 16) | type Verifier interface type Input (line 27) | type Input interface function benchData (line 34) | func benchData(size uint64, name string) []byte { type memVerifier (line 49) | type memVerifier struct method Write (line 54) | func (m *memVerifier) Write(buf []byte) (int, error) { method MissingBytes (line 70) | func (m *memVerifier) MissingBytes() int64 { type memInput (line 74) | type memInput struct method Reader (line 82) | func (ni *memInput) Reader(seed uint64) (io.Reader, error) { method Verifier (line 91) | func (ni *memInput) Verifier() (Verifier, error) { method Size (line 98) | func (ni *memInput) Size() int64 { method Close (line 102) | func (ni *memInput) Close() error { function newMemInput (line 78) | func newMemInput(size uint64, name string) Input { function InputByName (line 124) | func InputByName(name string, size uint64) (Input, error) { function InputNames (line 134) | func InputNames() []string { FILE: bench/runner.go type Config (line 20) | type Config struct type Result (line 30) | type Result struct function buildHints (line 43) | func buildHints(cfg Config) []hints.Hint { function sortHints (line 81) | func sortHints(hs []hints.Hint) []hints.Hint { function benchmarkSingle (line 90) | func benchmarkSingle(cfg Config, fn func(result Result), ipfsPath string... function ipfsIsNeeded (line 190) | func ipfsIsNeeded(cfgs []Config) bool { function Benchmark (line 201) | func Benchmark(cfgs []Config, fn func(result Result)) error { FILE: bench/stats.go type Stats (line 10) | type Stats struct function FetchStats (line 18) | func FetchStats() Stats { FILE: brig.go function main (line 9) | func main() { FILE: catfs/backend.go type ErrNoSuchHash (line 16) | type ErrNoSuchHash struct method Error (line 20) | func (eh ErrNoSuchHash) Error() string { type FsBackend (line 26) | type FsBackend interface type MemFsBackend (line 57) | type MemFsBackend struct method Cat (line 71) | func (mb *MemFsBackend) Cat(hash h.Hash) (mio.Stream, error) { method Add (line 94) | func (mb *MemFsBackend) Add(r io.Reader) (h.Hash, error) { method Pin (line 106) | func (mb *MemFsBackend) Pin(hash h.Hash) error { method Unpin (line 112) | func (mb *MemFsBackend) Unpin(hash h.Hash) error { method IsPinned (line 118) | func (mb *MemFsBackend) IsPinned(hash h.Hash) (bool, error) { method IsCached (line 129) | func (mb *MemFsBackend) IsCached(hash h.Hash) (bool, error) { method CachedSize (line 136) | func (mb *MemFsBackend) CachedSize(hash h.Hash) (int64, error) { function NewMemFsBackend (line 63) | func NewMemFsBackend() *MemFsBackend { FILE: catfs/capnp/pinner.capnp.go type Pin (line 11) | type Pin struct method String (line 31) | func (s Pin) String() string { method Inode (line 36) | func (s Pin) Inode() uint64 { method SetInode (line 40) | func (s Pin) SetInode(v uint64) { method IsPinned (line 44) | func (s Pin) IsPinned() bool { method SetIsPinned (line 48) | func (s Pin) SetIsPinned(v bool) { constant Pin_TypeID (line 14) | Pin_TypeID = 0x985d53e01674ee95 function NewPin (line 16) | func NewPin(s *capnp.Segment) (Pin, error) { function NewRootPin (line 21) | func NewRootPin(s *capnp.Segment) (Pin, error) { function ReadRootPin (line 26) | func ReadRootPin(msg *capnp.Message) (Pin, error) { type Pin_List (line 53) | type Pin_List struct method At (line 61) | func (s Pin_List) At(i int) Pin { return Pin{s.List.Struct(i)} } method Set (line 63) | func (s Pin_List) Set(i int, v Pin) error { return s.List.SetStruct(i,... method String (line 65) | func (s Pin_List) String() string { function NewPin_List (line 56) | func NewPin_List(s *capnp.Segment, sz int32) (Pin_List, error) { type Pin_Promise (line 71) | type Pin_Promise struct method Struct (line 73) | func (p Pin_Promise) Struct() (Pin, error) { type PinEntry (line 79) | type PinEntry struct method String (line 99) | func (s PinEntry) String() string { method Pins (line 104) | func (s PinEntry) Pins() (Pin_List, error) { method HasPins (line 109) | func (s PinEntry) HasPins() bool { method SetPins (line 114) | func (s PinEntry) SetPins(v Pin_List) error { method NewPins (line 120) | func (s PinEntry) NewPins(n int32) (Pin_List, error) { constant PinEntry_TypeID (line 82) | PinEntry_TypeID = 0xdb74f7cf7bc815c6 function NewPinEntry (line 84) | func NewPinEntry(s *capnp.Segment) (PinEntry, error) { function NewRootPinEntry (line 89) | func NewRootPinEntry(s *capnp.Segment) (PinEntry, error) { function ReadRootPinEntry (line 94) | func ReadRootPinEntry(msg *capnp.Message) (PinEntry, error) { type PinEntry_List (line 130) | type PinEntry_List struct method At (line 138) | func (s PinEntry_List) At(i int) PinEntry { return PinEntry{s.List.Str... method Set (line 140) | func (s PinEntry_List) Set(i int, v PinEntry) error { return s.List.Se... method String (line 142) | func (s PinEntry_List) String() string { function NewPinEntry_List (line 133) | func NewPinEntry_List(s *capnp.Segment, sz int32) (PinEntry_List, error) { type PinEntry_Promise (line 148) | type PinEntry_Promise struct method Struct (line 150) | func (p PinEntry_Promise) Struct() (PinEntry, error) { constant schema_ba762188b0a6e4cf (line 155) | schema_ba762188b0a6e4cf = "x\xda\\\xd0\xb1K\xebP\x14\x06\xf0\xef\xbbI_[" + function init (line 176) | func init() { FILE: catfs/core/coreutils.go function mkdirParents (line 27) | func mkdirParents(lkr *Linker, repoPath string) (*n.Directory, error) { function Mkdir (line 54) | func Mkdir(lkr *Linker, repoPath string, createParents bool) (dir *n.Dir... function Remove (line 125) | func Remove(lkr *Linker, nd n.ModNode, createGhost, force bool) (parentD... function prepareParent (line 180) | func prepareParent(lkr *Linker, nd n.ModNode, dstPath string) (*n.Direct... function Copy (line 252) | func Copy(lkr *Linker, nd n.ModNode, dstPath string) (newNode n.ModNode,... function Move (line 300) | func Move(lkr *Linker, nd n.ModNode, dstPath string) error { function StageFromFileNode (line 358) | func StageFromFileNode(lkr *Linker, f *n.File) (*n.File, error) { function Stage (line 376) | func Stage( function Log (line 488) | func Log(lkr *Linker, start *n.Commit, fn func(cmt *n.Commit) error) err... FILE: catfs/core/coreutils_test.go function TestMkdir (line 16) | func TestMkdir(t *testing.T) { function TestRemove (line 85) | func TestRemove(t *testing.T) { function TestRemoveGhost (line 156) | func TestRemoveGhost(t *testing.T) { function TestRemoveExistingGhost (line 188) | func TestRemoveExistingGhost(t *testing.T) { function moveValidCheck (line 202) | func moveValidCheck(t *testing.T, lkr *Linker, srcPath, dstPath string) { function moveInvalidCheck (line 223) | func moveInvalidCheck(t *testing.T, lkr *Linker, srcPath, dstPath string) { function TestMoveSingle (line 329) | func TestMoveSingle(t *testing.T) { function TestMoveDirectoryWithChild (line 371) | func TestMoveDirectoryWithChild(t *testing.T) { function TestMoveDirectory (line 398) | func TestMoveDirectory(t *testing.T) { function TestMoveDirectoryWithGhosts (line 436) | func TestMoveDirectoryWithGhosts(t *testing.T) { function TestStage (line 485) | func TestStage(t *testing.T) { function TestStageDirOverGhost (line 533) | func TestStageDirOverGhost(t *testing.T) { function TestCopy (line 548) | func TestCopy(t *testing.T) { FILE: catfs/core/gc.go type GarbageCollector (line 14) | type GarbageCollector struct method markMoveMap (line 31) | func (gc *GarbageCollector) markMoveMap(key []string) error { method mark (line 56) | func (gc *GarbageCollector) mark(cmt *n.Commit, recursive bool) error { method sweep (line 93) | func (gc *GarbageCollector) sweep(prefix []string) (int, error) { method findAllMoveLocations (line 139) | func (gc *GarbageCollector) findAllMoveLocations(head *n.Commit) ([][]... method Run (line 170) | func (gc *GarbageCollector) Run(allObjects bool) error { function NewGarbageCollector (line 23) | func NewGarbageCollector(lkr *Linker, kv db.Database, kc func(nd n.Node)... FILE: catfs/core/gc_test.go function assertNodeExists (line 11) | func assertNodeExists(t *testing.T, kv db.Database, nd n.Node) { function TestGC (line 17) | func TestGC(t *testing.T) { FILE: catfs/core/linker.go type Linker (line 65) | type Linker struct method MemIndexAdd (line 93) | func (lkr *Linker) MemIndexAdd(nd n.Node, updatePathIndex bool) { method MemIndexSwap (line 111) | func (lkr *Linker) MemIndexSwap(nd n.Node, oldHash h.Hash, updatePathI... method MemSetRoot (line 122) | func (lkr *Linker) MemSetRoot(root *n.Directory) { method MemIndexPurge (line 133) | func (lkr *Linker) MemIndexPurge(nd n.Node) { method MemIndexClear (line 142) | func (lkr *Linker) MemIndexClear() { method NextInode (line 155) | func (lkr *Linker) NextInode() uint64 { method FilesByContents (line 185) | func (lkr *Linker) FilesByContents(contents []h.Hash) (map[string]*n.F... method loadNode (line 231) | func (lkr *Linker) loadNode(hash h.Hash) (n.Node, error) { method NodeByHash (line 260) | func (lkr *Linker) NodeByHash(hash h.Hash) (n.Node, error) { method ResolveNode (line 296) | func (lkr *Linker) ResolveNode(nodePath string) (n.Node, error) { method StageNode (line 336) | func (lkr *Linker) StageNode(nd n.Node) error { method CommitByIndex (line 363) | func (lkr *Linker) CommitByIndex(index int64) (*n.Commit, error) { method NodeByInode (line 403) | func (lkr *Linker) NodeByInode(uid uint64) (n.Node, error) { method stageNodeRecursive (line 417) | func (lkr *Linker) stageNodeRecursive(batch db.Batch, nd n.Node) error { method SetMergeMarker (line 479) | func (lkr *Linker) SetMergeMarker(with string, remoteHead h.Hash) error { method MakeCommit (line 496) | func (lkr *Linker) MakeCommit(author string, message string) error { method makeCommitPutCurrToPersistent (line 509) | func (lkr *Linker) makeCommitPutCurrToPersistent(batch db.Batch, rootD... method makeCommit (line 531) | func (lkr *Linker) makeCommit(batch db.Batch, author string, message s... method clearStage (line 624) | func (lkr *Linker) clearStage(batch db.Batch) error { method MetadataPut (line 647) | func (lkr *Linker) MetadataPut(key string, value []byte) error { method MetadataGet (line 656) | func (lkr *Linker) MetadataGet(key string) ([]byte, error) { method Owner (line 665) | func (lkr *Linker) Owner() (string, error) { method SetOwner (line 683) | func (lkr *Linker) SetOwner(owner string) error { method SetABIVersion (line 689) | func (lkr *Linker) SetABIVersion(version int) error { method ResolveRef (line 702) | func (lkr *Linker) ResolveRef(refname string) (n.Node, error) { method SaveRef (line 794) | func (lkr *Linker) SaveRef(refname string, nd n.Node) error { method ListRefs (line 803) | func (lkr *Linker) ListRefs() ([]string, error) { method RemoveRef (line 822) | func (lkr *Linker) RemoveRef(refname string) error { method Head (line 830) | func (lkr *Linker) Head() (*n.Commit, error) { method Root (line 846) | func (lkr *Linker) Root() (*n.Directory, error) { method Status (line 867) | func (lkr *Linker) Status() (*n.Commit, error) { method status (line 876) | func (lkr *Linker) status(batch db.Batch) (cmt *n.Commit, err error) { method loadStatus (line 938) | func (lkr *Linker) loadStatus() (*n.Commit, error) { method saveStatus (line 963) | func (lkr *Linker) saveStatus(cmt *n.Commit) error { method LookupNode (line 999) | func (lkr *Linker) LookupNode(repoPath string) (n.Node, error) { method LookupNodeAt (line 1009) | func (lkr *Linker) LookupNodeAt(cmt *n.Commit, repoPath string) (n.Nod... method LookupModNode (line 1023) | func (lkr *Linker) LookupModNode(repoPath string) (n.ModNode, error) { method LookupModNodeAt (line 1042) | func (lkr *Linker) LookupModNodeAt(cmt *n.Commit, repoPath string) (n.... method DirectoryByHash (line 1062) | func (lkr *Linker) DirectoryByHash(hash h.Hash) (*n.Directory, error) { method ResolveDirectory (line 1083) | func (lkr *Linker) ResolveDirectory(dirpath string) (*n.Directory, err... method LookupDirectory (line 1102) | func (lkr *Linker) LookupDirectory(repoPath string) (*n.Directory, err... method FileByHash (line 1121) | func (lkr *Linker) FileByHash(hash h.Hash) (*n.File, error) { method LookupFile (line 1136) | func (lkr *Linker) LookupFile(repoPath string) (*n.File, error) { method LookupGhost (line 1155) | func (lkr *Linker) LookupGhost(repoPath string) (*n.Ghost, error) { method CommitByHash (line 1175) | func (lkr *Linker) CommitByHash(hash h.Hash) (*n.Commit, error) { method HaveStagedChanges (line 1195) | func (lkr *Linker) HaveStagedChanges() (bool, error) { method CheckoutCommit (line 1219) | func (lkr *Linker) CheckoutCommit(cmt *n.Commit, force bool) error { method AddMoveMapping (line 1256) | func (lkr *Linker) AddMoveMapping(fromInode, toInode uint64) (err erro... method parseMoveMappingLine (line 1286) | func (lkr *Linker) parseMoveMappingLine(line string) (n.Node, MoveDir,... method commitMoveMappingKey (line 1328) | func (lkr *Linker) commitMoveMappingKey( method commitMoveMapping (line 1445) | func (lkr *Linker) commitMoveMapping(status *n.Commit, exported map[ui... method MoveEntryPoint (line 1518) | func (lkr *Linker) MoveEntryPoint(nd n.Node) (n.Node, MoveDir, error) { method MoveMapping (line 1556) | func (lkr *Linker) MoveMapping(cmt *n.Commit, nd n.Node) (n.Node, Move... method ExpandAbbrev (line 1622) | func (lkr *Linker) ExpandAbbrev(abbrev string) (h.Hash, error) { method IterAll (line 1664) | func (lkr *Linker) IterAll(from, to *n.Commit, fn func(n.ModNode, *n.C... method iterAll (line 1669) | func (lkr *Linker) iterAll(from, to *n.Commit, visited map[string]stru... method Atomic (line 1727) | func (lkr *Linker) Atomic(fn func() (bool, error)) (err error) { method AtomicWithBatch (line 1735) | func (lkr *Linker) AtomicWithBatch(fn func(batch db.Batch) (bool, erro... method KV (line 1788) | func (lkr *Linker) KV() db.Database { function NewLinker (line 86) | func NewLinker(kv db.Database) *Linker { function appendDot (line 281) | func appendDot(path string) string { constant MoveDirUnknown (line 1464) | MoveDirUnknown = iota constant MoveDirSrcToDst (line 1467) | MoveDirSrcToDst constant MoveDirDstToSrc (line 1470) | MoveDirDstToSrc constant MoveDirNone (line 1472) | MoveDirNone type MoveDir (line 1476) | type MoveDir method String (line 1478) | func (md MoveDir) String() string { method Invert (line 1492) | func (md MoveDir) Invert() MoveDir { function moveDirFromString (line 1503) | func moveDirFromString(spec string) MoveDir { function hintRollback (line 1779) | func hintRollback(err error) (bool, error) { FILE: catfs/core/linker_test.go function TestLinkerInsertRoot (line 23) | func TestLinkerInsertRoot(t *testing.T) { function TestLinkerRefs (line 68) | func TestLinkerRefs(t *testing.T) { function TestLinkerNested (line 137) | func TestLinkerNested(t *testing.T) { function TestLinkerPersistence (line 223) | func TestLinkerPersistence(t *testing.T) { function TestCollideSameObjectHash (line 272) | func TestCollideSameObjectHash(t *testing.T) { function TestHaveStagedChanges (line 360) | func TestHaveStagedChanges(t *testing.T) { function TestFilesByContent (line 392) | func TestFilesByContent(t *testing.T) { function TestResolveRef (line 408) | func TestResolveRef(t *testing.T) { type iterResult (line 445) | type iterResult struct function TestIterAll (line 449) | func TestIterAll(t *testing.T) { function TestAtomic (line 496) | func TestAtomic(t *testing.T) { function TestCommitByIndex (line 534) | func TestCommitByIndex(t *testing.T) { function TestLookupNodeAt (line 582) | func TestLookupNodeAt(t *testing.T) { FILE: catfs/core/testing.go function WithDummyKv (line 19) | func WithDummyKv(t *testing.T, fn func(kv db.Database)) { function WithDummyLinker (line 40) | func WithDummyLinker(t *testing.T, fn func(lkr *Linker)) { function WithReloadingLinker (line 53) | func WithReloadingLinker(t *testing.T, fn1 func(lkr *Linker), fn2 func(l... function WithLinkerPair (line 67) | func WithLinkerPair(t *testing.T, fn func(lkrSrc, lkrDst *Linker)) { function AssertDir (line 78) | func AssertDir(t *testing.T, lkr *Linker, path string, shouldExist bool) { function MustMkdir (line 96) | func MustMkdir(t *testing.T, lkr *Linker, repoPath string) *n.Directory { function MustTouch (line 107) | func MustTouch(t *testing.T, lkr *Linker, touchPath string, seed byte) *... function MustMove (line 144) | func MustMove(t *testing.T, lkr *Linker, nd n.ModNode, destPath string) ... function MustRemove (line 158) | func MustRemove(t *testing.T, lkr *Linker, nd n.ModNode) n.ModNode { function MustCommit (line 172) | func MustCommit(t *testing.T, lkr *Linker, msg string) *n.Commit { function MustCommitIfPossible (line 186) | func MustCommitIfPossible(t *testing.T, lkr *Linker, msg string) *n.Comm... function MustTouchAndCommit (line 200) | func MustTouchAndCommit(t *testing.T, lkr *Linker, path string, seed byt... function MustModify (line 220) | func MustModify(t *testing.T, lkr *Linker, file *n.File, seed int) { function MustLookupDirectory (line 245) | func MustLookupDirectory(t *testing.T, lkr *Linker, path string) *n.Dire... FILE: catfs/db/database.go type Batch (line 14) | type Batch interface type Database (line 38) | type Database interface function CopyKey (line 73) | func CopyKey(db Database, src, dst []string) error { FILE: catfs/db/database_badger.go type BadgerDatabase (line 16) | type BadgerDatabase struct method runGC (line 65) | func (bdb *BadgerDatabase) runGC() error { method view (line 147) | func (db *BadgerDatabase) view(fn func(txn *badger.Txn) error) error { method Get (line 159) | func (db *BadgerDatabase) Get(key ...string) ([]byte, error) { method Keys (line 191) | func (db *BadgerDatabase) Keys(prefix ...string) ([][]string, error) { method Export (line 223) | func (db *BadgerDatabase) Export(w io.Writer) error { method Import (line 232) | func (db *BadgerDatabase) Import(r io.Reader) error { method Glob (line 240) | func (db *BadgerDatabase) Glob(prefix []string) ([][]string, error) { method Batch (line 271) | func (db *BadgerDatabase) Batch() Batch { method batch (line 278) | func (db *BadgerDatabase) batch() Batch { method Put (line 288) | func (db *BadgerDatabase) Put(val []byte, key ...string) { method withRetry (line 305) | func (db *BadgerDatabase) withRetry(fn func() error) error { method Clear (line 324) | func (db *BadgerDatabase) Clear(key ...string) error { method Erase (line 365) | func (db *BadgerDatabase) Erase(key ...string) { method Flush (line 382) | func (db *BadgerDatabase) Flush() error { method Rollback (line 410) | func (db *BadgerDatabase) Rollback() { method HaveWrites (line 431) | func (db *BadgerDatabase) HaveWrites() bool { method Close (line 439) | func (db *BadgerDatabase) Close() error { function NewBadgerDatabase (line 28) | func NewBadgerDatabase(path string) (*BadgerDatabase, error) { FILE: catfs/db/database_disk.go constant debug (line 17) | debug = false type DiskDatabase (line 27) | type DiskDatabase struct method Flush (line 92) | func (db *DiskDatabase) Flush() error { method Rollback (line 128) | func (db *DiskDatabase) Rollback() { method Get (line 140) | func (db *DiskDatabase) Get(key ...string) ([]byte, error) { method Batch (line 170) | func (db *DiskDatabase) Batch() Batch { method Put (line 195) | func (db *DiskDatabase) Put(val []byte, key ...string) { method Clear (line 238) | func (db *DiskDatabase) Clear(key ...string) error { method Erase (line 296) | func (db *DiskDatabase) Erase(key ...string) { method HaveWrites (line 317) | func (db *DiskDatabase) HaveWrites() bool { method Keys (line 322) | func (db *DiskDatabase) Keys(prefix ...string) ([][]string, error) { method Glob (line 346) | func (db *DiskDatabase) Glob(prefix []string) ([][]string, error) { method Export (line 372) | func (db *DiskDatabase) Export(w io.Writer) error { method Import (line 378) | func (db *DiskDatabase) Import(r io.Reader) error { method Close (line 383) | func (db *DiskDatabase) Close() error { function NewDiskDatabase (line 36) | func NewDiskDatabase(basePath string) (*DiskDatabase, error) { function fixDirectoryKeys (line 44) | func fixDirectoryKeys(key []string) string { function reverseDirectoryKeys (line 75) | func reverseDirectoryKeys(key string) []string { function removeNonDirs (line 175) | func removeNonDirs(path string) error { FILE: catfs/db/database_memory.go type MemoryDatabase (line 12) | type MemoryDatabase struct method Batch (line 39) | func (mdb *MemoryDatabase) Batch() Batch { method Flush (line 49) | func (mdb *MemoryDatabase) Flush() error { method Rollback (line 59) | func (mdb *MemoryDatabase) Rollback() { method Get (line 69) | func (mdb *MemoryDatabase) Get(key ...string) ([]byte, error) { method Put (line 79) | func (mdb *MemoryDatabase) Put(data []byte, key ...string) { method Clear (line 85) | func (mdb *MemoryDatabase) Clear(key ...string) error { method Erase (line 98) | func (mdb *MemoryDatabase) Erase(key ...string) { method Keys (line 105) | func (mdb *MemoryDatabase) Keys(prefix ...string) ([][]string, error) { method HaveWrites (line 133) | func (mdb *MemoryDatabase) HaveWrites() bool { method Glob (line 138) | func (mdb *MemoryDatabase) Glob(prefix []string) ([][]string, error) { method Export (line 168) | func (mdb *MemoryDatabase) Export(w io.Writer) error { method Import (line 173) | func (mdb *MemoryDatabase) Import(r io.Reader) error { method Close (line 178) | func (mdb *MemoryDatabase) Close() error { function shallowCopyMap (line 20) | func shallowCopyMap(src map[string][]byte) map[string][]byte { function NewMemoryDatabase (line 32) | func NewMemoryDatabase() *MemoryDatabase { FILE: catfs/db/database_test.go function withDiskDatabase (line 16) | func withDiskDatabase(fn func(db *DiskDatabase)) error { function withBadgerDatabase (line 29) | func withBadgerDatabase(fn func(db *BadgerDatabase)) error { function withMemDatabase (line 42) | func withMemDatabase(fn func(db *MemoryDatabase)) error { function withDbByName (line 48) | func withDbByName(name string, fn func(db Database)) error { function withDbsByName (line 67) | func withDbsByName(name string, fn func(db1, db2 Database)) error { function TestDatabase (line 77) | func TestDatabase(t *testing.T) { function TestGCRace (line 92) | func TestGCRace(t *testing.T) { function testDatabaseTwoDbs (line 109) | func testDatabaseTwoDbs(t *testing.T, name string) { function testDatabaseOneDb (line 131) | func testDatabaseOneDb(t *testing.T, name string) { function testErase (line 179) | func testErase(t *testing.T, db Database) { function testKeys (line 196) | func testKeys(t *testing.T, db Database) { function testRollback (line 228) | func testRollback(t *testing.T, db Database) { function testRecursiveBatch (line 252) | func testRecursiveBatch(t *testing.T, db Database) { function testPutAndGet (line 274) | func testPutAndGet(t *testing.T, db Database) { function testInvalidAccess (line 296) | func testInvalidAccess(t *testing.T, db Database) { function testClear (line 302) | func testClear(t *testing.T, db Database) { function testClearPrefix (line 328) | func testClearPrefix(t *testing.T, db Database) { function testGlob (line 370) | func testGlob(t *testing.T, db Database) { function testExportImport (line 389) | func testExportImport(t *testing.T, db1, db2 Database) { function TestLargeBatch (line 424) | func TestLargeBatch(t *testing.T) { function BenchmarkDatabase (line 450) | func BenchmarkDatabase(b *testing.B) { function benchmarkDatabasePut (line 471) | func benchmarkDatabasePut(b *testing.B, db Database) { function benchmarkDatabaseGet (line 480) | func benchmarkDatabaseGet(b *testing.B, db Database) { FILE: catfs/errors/errors.go type ErrNoSuchRef (line 29) | type ErrNoSuchRef method Error (line 31) | func (e ErrNoSuchRef) Error() string { function IsErrNoSuchRef (line 36) | func IsErrNoSuchRef(err error) bool { type ErrNoSuchCommitIndex (line 44) | type ErrNoSuchCommitIndex struct method Error (line 48) | func (e ErrNoSuchCommitIndex) Error() string { function NoSuchCommitIndex (line 53) | func NoSuchCommitIndex(ind int64) error { function IsErrNoSuchCommitIndex (line 58) | func IsErrNoSuchCommitIndex(err error) bool { type errNoSuchFile (line 65) | type errNoSuchFile struct method Error (line 70) | func (e *errNoSuchFile) Error() string { function NoSuchFile (line 77) | func NoSuchFile(path string) error { function IsNoSuchFileError (line 82) | func IsNoSuchFileError(err error) bool { FILE: catfs/fs.go constant abiVersion (line 36) | abiVersion = 1 constant defaultEncryptionKeyLength (line 37) | defaultEncryptionKeyLength = 32 function emptyFileEncryptionKey (line 40) | func emptyFileEncryptionKey() []byte { type HintManager (line 45) | type HintManager interface type defaultHintManager (line 56) | type defaultHintManager struct method Lookup (line 58) | func (dhm defaultHintManager) Lookup(path string) hints.Hint { method Set (line 62) | func (dhm defaultHintManager) Set(path string, hint hints.Hint) error { type FS (line 74) | type FS struct method nodeToStat (line 250) | func (fs *FS) nodeToStat(nd n.Node) *StatInfo { method handleGcEvent (line 315) | func (fs *FS) handleGcEvent(nd n.Node) bool { method doGcRun (line 342) | func (fs *FS) doGcRun() { method gcLoop (line 423) | func (fs *FS) gcLoop() { method autoCommitLoop (line 442) | func (fs *FS) autoCommitLoop() { method repinLoop (line 469) | func (fs *FS) repinLoop() { method Close (line 511) | func (fs *FS) Close() error { method Export (line 527) | func (fs *FS) Export(w io.Writer) error { method Import (line 535) | func (fs *FS) Import(r io.Reader) error { method Move (line 554) | func (fs *FS) Move(src, dst string) error { method Copy (line 572) | func (fs *FS) Copy(src, dst string) error { method Mkdir (line 591) | func (fs *FS) Mkdir(dir string, createParents bool) error { method Remove (line 606) | func (fs *FS) Remove(path string) error { method Stat (line 625) | func (fs *FS) Stat(path string) (*StatInfo, error) { method Filter (line 643) | func (fs *FS) Filter(root, query string) ([]*StatInfo, error) { method List (line 701) | func (fs *FS) List(root string, maxDepth int) ([]*StatInfo, error) { method preCache (line 772) | func (fs *FS) preCache(hash h.Hash) error { method preCacheInBackground (line 782) | func (fs *FS) preCacheInBackground(hash h.Hash) { method Pin (line 795) | func (fs *FS) Pin(path, rev string, explicit bool) error { method Unpin (line 800) | func (fs *FS) Unpin(path, rev string, explicit bool) error { method doPin (line 804) | func (fs *FS) doPin(path, rev string, op func(nd n.Node, explicit bool... method IsPinned (line 842) | func (fs *FS) IsPinned(path string) (bool, bool, error) { method Touch (line 868) | func (fs *FS) Touch(path string) error { method Truncate (line 913) | func (fs *FS) Truncate(path string, size uint64) error { method renewPins (line 934) | func (fs *FS) renewPins(oldFile, newFile *n.File) error { method preStageKeyGen (line 963) | func (fs *FS) preStageKeyGen(path string) ([]byte, error) { method Stage (line 1012) | func (fs *FS) Stage(path string, r io.Reader) error { method stageWithKey (line 1027) | func (fs *FS) stageWithKey(path string, r io.Reader, key []byte) error { method getTarableEntries (line 1101) | func (fs *FS) getTarableEntries(root string, filter func(node *StatInf... method Tar (line 1161) | func (fs *FS) Tar(root string, w io.Writer, filter func(node *StatInfo... method Cat (line 1214) | func (fs *FS) Cat(path string) (mio.Stream, error) { method catHash (line 1241) | func (fs *FS) catHash(backendHash h.Hash, key []byte, size uint64, isR... method Open (line 1260) | func (fs *FS) Open(path string) (*Handle, error) { method MakeCommit (line 1284) | func (fs *FS) MakeCommit(msg string) error { method isMove (line 1296) | func (fs *FS) isMove(nd n.ModNode) (bool, error) { method DeletedNodes (line 1323) | func (fs *FS) DeletedNodes(root string) ([]*StatInfo, error) { method Undelete (line 1365) | func (fs *FS) Undelete(root string) error { method Head (line 1386) | func (fs *FS) Head() (string, error) { method Curr (line 1399) | func (fs *FS) Curr() (string, error) { method History (line 1427) | func (fs *FS) History(path string) ([]Change, error) { method buildSyncCfg (line 1480) | func (fs *FS) buildSyncCfg() (*vcs.SyncOptions, error) { method Sync (line 1627) | func (fs *FS) Sync(remote *FS, options ...SyncOption) error { method MakeDiff (line 1650) | func (fs *FS) MakeDiff(remote *FS, headRevOwn, headRevRemote string) (... method buildCommitHashToRefTable (line 1720) | func (fs *FS) buildCommitHashToRefTable() (map[string][]string, error) { method Log (line 1746) | func (fs *FS) Log(head string, fn func(c *Commit) error) error { method Reset (line 1778) | func (fs *FS) Reset(path, rev string) error { method Checkout (line 1822) | func (fs *FS) Checkout(rev string, force bool) error { method checkout (line 1829) | func (fs *FS) checkout(rev string, force bool) error { method Tag (line 1846) | func (fs *FS) Tag(rev, name string) error { method RemoveTag (line 1859) | func (fs *FS) RemoveTag(name string) error { method FilesByContent (line 1869) | func (fs *FS) FilesByContent(contents []h.Hash) (map[string]StatInfo, ... method ScheduleGCRun (line 1888) | func (fs *FS) ScheduleGCRun() { method writeLastPatchIndex (line 1896) | func (fs *FS) writeLastPatchIndex(index int64) error { method autoCommitStagedChanges (line 1901) | func (fs *FS) autoCommitStagedChanges(remoteName string) error { method MakePatch (line 1936) | func (fs *FS) MakePatch(fromRev string, folders []string, remoteName s... method MakePatches (line 1964) | func (fs *FS) MakePatches(fromRev string, folders []string, remoteName... method ApplyPatch (line 1991) | func (fs *FS) ApplyPatch(data []byte) error { method ApplyPatches (line 2009) | func (fs *FS) ApplyPatches(data []byte) error { method applyPatches (line 2026) | func (fs *FS) applyPatches(patches vcs.Patches) error { method LastPatchIndex (line 2062) | func (fs *FS) LastPatchIndex() (int64, error) { method CommitInfo (line 2081) | func (fs *FS) CommitInfo(rev string) (*Commit, error) { method HaveStagedChanges (line 2099) | func (fs *FS) HaveStagedChanges() (bool, error) { method IsCached (line 2107) | func (fs *FS) IsCached(path string) (bool, error) { method Hints (line 2156) | func (fs *FS) Hints() HintManager { type StatInfo (line 122) | type StatInfo struct type DiffPair (line 167) | type DiffPair struct type Diff (line 173) | type Diff struct type Commit (line 197) | type Commit struct type Change (line 212) | type Change struct type ExplicitPin (line 241) | type ExplicitPin struct function lookupFileOrDir (line 297) | func lookupFileOrDir(lkr *c.Linker, path string) (n.ModNode, error) { function NewFilesystem (line 360) | func NewFilesystem( function prefixSlash (line 858) | func prefixSlash(s string) string { type tarEntry (line 1095) | type tarEntry struct function commitToExternal (line 1411) | func commitToExternal(cmt *n.Commit, hashToRef map[string][]string) *Com... type SyncOption (line 1568) | type SyncOption function SyncOptMessage (line 1572) | func SyncOptMessage(msg string) SyncOption { function SyncOptConflictStrategy (line 1580) | func SyncOptConflictStrategy(strategy string) SyncOption { function SyncOptReadOnlyFolders (line 1592) | func SyncOptReadOnlyFolders(folders []string) SyncOption { function SyncOptConflictgStrategyPerFolder (line 1607) | func SyncOptConflictgStrategyPerFolder(strategies map[string]string) Syn... FILE: catfs/fs_test.go function init (line 30) | func init() { function withDummyFSReadOnly (line 34) | func withDummyFSReadOnly(t *testing.T, readOnly bool, fn func(fs *FS)) { function withDummyFS (line 79) | func withDummyFS(t *testing.T, fn func(fs *FS)) { function TestStat (line 83) | func TestStat(t *testing.T) { function TestLogAndTag (line 117) | func TestLogAndTag(t *testing.T) { function TestCat (line 172) | func TestCat(t *testing.T) { function TestStageBasic (line 218) | func TestStageBasic(t *testing.T) { function TestHistory (line 281) | func TestHistory(t *testing.T) { function mustReadPath (line 323) | func mustReadPath(t *testing.T, fs *FS, path string) []byte { function TestReset (line 333) | func TestReset(t *testing.T) { function TestCheckout (line 375) | func TestCheckout(t *testing.T) { function TestExportImport (line 421) | func TestExportImport(t *testing.T) { function TestSync (line 454) | func TestSync(t *testing.T) { function TestMakeDiff (line 487) | func TestMakeDiff(t *testing.T) { function TestPin (line 528) | func TestPin(t *testing.T) { function TestMkdir (line 577) | func TestMkdir(t *testing.T) { function TestMove (line 606) | func TestMove(t *testing.T) { function TestTouch (line 623) | func TestTouch(t *testing.T) { function TestHead (line 671) | func TestHead(t *testing.T) { function TestList (line 690) | func TestList(t *testing.T) { function TestTag (line 725) | func TestTag(t *testing.T) { function TestStageUnmodified (line 748) | func TestStageUnmodified(t *testing.T) { function TestTruncate (line 767) | func TestTruncate(t *testing.T) { function TestChangingCompressAlgos (line 796) | func TestChangingCompressAlgos(t *testing.T) { function TestPatch (line 819) | func TestPatch(t *testing.T) { function TestTar (line 860) | func TestTar(t *testing.T) { function TestReadOnly (line 897) | func TestReadOnly(t *testing.T) { function TestDeletedNodesDirectory (line 904) | func TestDeletedNodesDirectory(t *testing.T) { function TestDeletedNodesFile (line 922) | func TestDeletedNodesFile(t *testing.T) { function TestUndeleteFile (line 941) | func TestUndeleteFile(t *testing.T) { function TestUndeleteDirectory (line 968) | func TestUndeleteDirectory(t *testing.T) { FILE: catfs/handle.go type Handle (line 23) | type Handle struct method initStreamIfNeeded (line 42) | func (hdl *Handle) initStreamIfNeeded() error { method Read (line 80) | func (hdl *Handle) Read(buf []byte) (int, error) { method ReadAt (line 96) | func (hdl *Handle) ReadAt(buf []byte, off int64) (int, error) { method Write (line 113) | func (hdl *Handle) Write(buf []byte) (int, error) { method WriteAt (line 135) | func (hdl *Handle) WriteAt(buf []byte, off int64) (n int, err error) { method Seek (line 157) | func (hdl *Handle) Seek(offset int64, whence int) (int64, error) { method Truncate (line 178) | func (hdl *Handle) Truncate(size uint64) error { method flush (line 203) | func (hdl *Handle) flush() error { method Flush (line 243) | func (hdl *Handle) Flush() error { method Close (line 260) | func (hdl *Handle) Close() error { method Path (line 273) | func (hdl *Handle) Path() string { function newHandle (line 34) | func newHandle(fs *FS, file *n.File, readOnly bool) *Handle { FILE: catfs/handle_test.go function TestOpenRead (line 15) | func TestOpenRead(t *testing.T) { function TestOpenWrite (line 31) | func TestOpenWrite(t *testing.T) { function TestOpenTruncate (line 61) | func TestOpenTruncate(t *testing.T) { function TestOpenOpAfterClose (line 98) | func TestOpenOpAfterClose(t *testing.T) { function TestOpenExtend (line 118) | func TestOpenExtend(t *testing.T) { function testOpenExtend (line 130) | func testOpenExtend(t *testing.T, pos int64, whence int) { function TestHandleFuseLikeRead (line 164) | func TestHandleFuseLikeRead(t *testing.T) { function testHandleFuseLikeRead (line 178) | func testHandleFuseLikeRead(t *testing.T, fileSize, blockSize int) { function TestHandleChangeCompression (line 221) | func TestHandleChangeCompression(t *testing.T) { FILE: catfs/mio/chunkbuf/chunkbuf.go type ChunkBuffer (line 10) | type ChunkBuffer struct method Write (line 21) | func (c *ChunkBuffer) Write(p []byte) (int, error) { method Reset (line 29) | func (c *ChunkBuffer) Reset(data []byte) { method Len (line 37) | func (c *ChunkBuffer) Len() int { method Read (line 41) | func (c *ChunkBuffer) Read(p []byte) (int, error) { method Seek (line 52) | func (c *ChunkBuffer) Seek(offset int64, whence int) (int64, error) { method Close (line 67) | func (c *ChunkBuffer) Close() error { method WriteTo (line 72) | func (c *ChunkBuffer) WriteTo(w io.Writer) (int64, error) { constant maxChunkSize (line 18) | maxChunkSize = 64 * 1024 function NewChunkBuffer (line 85) | func NewChunkBuffer(data []byte) *ChunkBuffer { FILE: catfs/mio/chunkbuf/chunkbuf_test.go function TestChunkBufBasic (line 13) | func TestChunkBufBasic(t *testing.T) { function TestChunkBufEOF (line 22) | func TestChunkBufEOF(t *testing.T) { function TestChunkBufWriteTo (line 33) | func TestChunkBufWriteTo(t *testing.T) { function TestChunkBufSeek (line 44) | func TestChunkBufSeek(t *testing.T) { function TestChunkBufWrite (line 90) | func TestChunkBufWrite(t *testing.T) { FILE: catfs/mio/compress/algorithm.go constant AlgoUnknown (line 19) | AlgoUnknown = AlgorithmType(iota) constant AlgoSnappy (line 23) | AlgoSnappy constant AlgoLZ4 (line 27) | AlgoLZ4 constant AlgoZstd (line 31) | AlgoZstd type AlgorithmType (line 35) | type AlgorithmType method IsValid (line 38) | func (at AlgorithmType) IsValid() bool { method String (line 47) | func (at AlgorithmType) String() string { type Algorithm (line 57) | type Algorithm interface type snappyAlgo (line 74) | type snappyAlgo struct method Encode (line 142) | func (a snappyAlgo) Encode(dst, src []byte) ([]byte, error) { method Decode (line 146) | func (a snappyAlgo) Decode(dst, src []byte) ([]byte, error) { method MaxEncodeBufferSize (line 150) | func (a snappyAlgo) MaxEncodeBufferSize() int { type lz4Algo (line 76) | type lz4Algo struct method Encode (line 156) | func (a *lz4Algo) Encode(dst, src []byte) ([]byte, error) { method Decode (line 168) | func (a *lz4Algo) Decode(dst, src []byte) ([]byte, error) { method MaxEncodeBufferSize (line 173) | func (a *lz4Algo) MaxEncodeBufferSize() int { type zstdAlgo (line 80) | type zstdAlgo struct method Encode (line 179) | func (a zstdAlgo) Encode(dst, src []byte) ([]byte, error) { method Decode (line 183) | func (a zstdAlgo) Decode(dst, src []byte) ([]byte, error) { method MaxEncodeBufferSize (line 187) | func (a zstdAlgo) MaxEncodeBufferSize() int { function init (line 87) | func init() { function algorithmFromType (line 192) | func algorithmFromType(a AlgorithmType) (Algorithm, error) { FILE: catfs/mio/compress/compress_test.go function openDest (line 22) | func openDest(t *testing.T, dest string) *os.File { function openSrc (line 33) | func openSrc(t *testing.T, src string) *os.File { function createTempFile (line 41) | func createTempFile(t *testing.T) string { constant C64K (line 50) | C64K = 64 * 1024 constant C32K (line 51) | C32K = 32 * 1024 function TestCompressDecompress (line 54) | func TestCompressDecompress(t *testing.T) { function testCompressDecompress (line 75) | func testCompressDecompress(t *testing.T, size int64, algo AlgorithmType... function TestSeek (line 132) | func TestSeek(t *testing.T) { function testSeek (line 155) | func testSeek(t *testing.T, size, offset int64, algo AlgorithmType, useR... function TestReadItAllTwice (line 231) | func TestReadItAllTwice(t *testing.T) { function TestReadFuseLike (line 258) | func TestReadFuseLike(t *testing.T) { function TestCheckSize (line 300) | func TestCheckSize(t *testing.T) { FILE: catfs/mio/compress/header.go constant maxChunkSize (line 35) | maxChunkSize = 64 * 1024 constant indexChunkSize (line 36) | indexChunkSize = 16 constant trailerSize (line 37) | trailerSize = 12 constant headerSize (line 38) | headerSize = 12 constant currentVersion (line 39) | currentVersion = 1 type record (line 45) | type record struct method marshal (line 66) | func (rc *record) marshal(buf []byte) { method unmarshal (line 71) | func (rc *record) unmarshal(buf []byte) { type trailer (line 51) | type trailer struct method marshal (line 56) | func (t *trailer) marshal(buf []byte) { method unmarshal (line 61) | func (t *trailer) unmarshal(buf []byte) { type header (line 76) | type header struct function makeHeader (line 81) | func makeHeader(algo AlgorithmType, version byte) []byte { function readHeader (line 92) | func readHeader(bheader []byte) (*header, error) { function Pack (line 124) | func Pack(data []byte, algo AlgorithmType) ([]byte, error) { function Unpack (line 145) | func Unpack(data []byte) ([]byte, error) { FILE: catfs/mio/compress/heuristic.go constant HeaderSizeThreshold (line 25) | HeaderSizeThreshold = 2048 function guessMime (line 28) | func guessMime(path string, buf []byte) string { function isCompressible (line 49) | func isCompressible(mimetype string) bool { function GuessAlgorithm (line 59) | func GuessAlgorithm(path string, header []byte) (AlgorithmType, error) { FILE: catfs/mio/compress/heuristic_test.go type testCase (line 9) | type testCase struct function TestChooseCompressAlgo (line 43) | func TestChooseCompressAlgo(t *testing.T) { FILE: catfs/mio/compress/reader.go type Reader (line 12) | type Reader struct method Seek (line 45) | func (r *Reader) Seek(destOff int64, whence int) (int64, error) { method chunkLookup (line 94) | func (r *Reader) chunkLookup(currOff int64, isRawOff bool) (*record, *... method parseTrailerIfNeeded (line 115) | func (r *Reader) parseTrailerIfNeeded() error { method WriteTo (line 204) | func (r *Reader) WriteTo(w io.Writer) (int64, error) { method Read (line 236) | func (r *Reader) Read(p []byte) (int, error) { method fixZipChunk (line 270) | func (r *Reader) fixZipChunk() (int64, error) { method readZipChunk (line 294) | func (r *Reader) readZipChunk() ([]byte, error) { function NewReader (line 328) | func NewReader(r io.ReadSeeker) *Reader { FILE: catfs/mio/compress/writer.go type Writer (line 11) | type Writer struct method addRecordToIndex (line 42) | func (w *Writer) addRecordToIndex() { method flushBuffer (line 46) | func (w *Writer) flushBuffer(data []byte) error { method writeHeaderIfNeeded (line 72) | func (w *Writer) writeHeaderIfNeeded() error { method ReadFrom (line 87) | func (w *Writer) ReadFrom(r io.Reader) (n int64, err error) { method Write (line 115) | func (w *Writer) Write(p []byte) (n int, err error) { method Close (line 156) | func (w *Writer) Close() error { function NewWriter (line 138) | func NewWriter(w io.Writer, algoType AlgorithmType) (*Writer, error) { FILE: catfs/mio/encrypt/format.go type Flags (line 45) | type Flags constant FlagEmpty (line 50) | FlagEmpty = Flags(0) constant FlagEncryptAES256GCM (line 54) | FlagEncryptAES256GCM = Flags(1) << iota constant FlagEncryptChaCha20 (line 58) | FlagEncryptChaCha20 constant flagReserved1 (line 62) | flagReserved1 constant flagReserved2 (line 63) | flagReserved2 constant flagReserved3 (line 64) | flagReserved3 constant flagReserved4 (line 65) | flagReserved4 constant flagReserved5 (line 66) | flagReserved5 constant flagReserved6 (line 67) | flagReserved6 constant FlagCompressedInside (line 71) | FlagCompressedInside constant macSize (line 77) | macSize = 16 constant version (line 80) | version = 1 constant headerSize (line 83) | headerSize = 20 + macSize constant defaultMaxBlockSize (line 86) | defaultMaxBlockSize = 64 * 1024 constant defaultDecBufferSize (line 88) | defaultDecBufferSize = defaultMaxBlockSize constant defaultEncBufferSize (line 89) | defaultEncBufferSize = defaultMaxBlockSize + 40 function GenerateHeader (line 106) | func GenerateHeader(key []byte, maxBlockSize int64, flags Flags) []byte { type HeaderInfo (line 146) | type HeaderInfo struct function cipherTypeBitFromFlags (line 182) | func cipherTypeBitFromFlags(flags Flags) (Flags, error) { function ParseHeader (line 212) | func ParseHeader(header, key []byte) (*HeaderInfo, error) { function createAEADWorker (line 259) | func createAEADWorker(cipherType Flags, key []byte) (cipher.AEAD, error) { type aeadCommon (line 275) | type aeadCommon struct method initAeadCommon (line 291) | func (c *aeadCommon) initAeadCommon(key []byte, cipherBit Flags, maxBl... function Encrypt (line 306) | func Encrypt(key []byte, source io.Reader, dest io.Writer, flags Flags) ... function Decrypt (line 322) | func Decrypt(key []byte, source io.Reader, dest io.Writer) (int64, error) { FILE: catfs/mio/encrypt/format_test.go constant ExtraDebug (line 19) | ExtraDebug = false function openFiles (line 21) | func openFiles(from, to string) (*os.File, *os.File, error) { function encryptFile (line 36) | func encryptFile(key []byte, from, to string) (n int64, outErr error) { function decryptFile (line 55) | func decryptFile(key []byte, from, to string) (n int64, outErr error) { function remover (line 76) | func remover(t *testing.T, path string) { function testSimpleEncDec (line 82) | func testSimpleEncDec(t *testing.T, size int64) { function TestSimpleEncDec (line 117) | func TestSimpleEncDec(t *testing.T) { type seekTest (line 147) | type seekTest struct function BenchmarkEncDec (line 172) | func BenchmarkEncDec(b *testing.B) { function TestSeek (line 178) | func TestSeek(t *testing.T) { function testSeek (line 191) | func testSeek(t *testing.T, N int64, readFrom, writeTo bool) { function testSeekOneWhence (line 235) | func testSeekOneWhence( function TestEmptyFile (line 336) | func TestEmptyFile(t *testing.T) { function TestEncryptedTheSame (line 385) | func TestEncryptedTheSame(t *testing.T) { function TestEncryptedByteSwaps (line 426) | func TestEncryptedByteSwaps(t *testing.T) { FILE: catfs/mio/encrypt/reader.go type Reader (line 11) | type Reader struct method readHeaderIfNotDone (line 46) | func (r *Reader) readHeaderIfNotDone() error { method Flags (line 96) | func (r *Reader) Flags() (Flags, error) { method Read (line 110) | func (r *Reader) Read(dest []byte) (int, error) { method readBlock (line 139) | func (r *Reader) readBlock() (int, error) { method Seek (line 191) | func (r *Reader) Seek(offset int64, whence int) (int64, error) { method WriteTo (line 313) | func (r *Reader) WriteTo(w io.Writer) (int64, error) { function NewReader (line 361) | func NewReader(r io.Reader, key []byte) (*Reader, error) { FILE: catfs/mio/encrypt/writer.go type Writer (line 19) | type Writer struct method GoodDecBufferSize (line 44) | func (w *Writer) GoodDecBufferSize() int64 { method GoodEncBufferSize (line 49) | func (w *Writer) GoodEncBufferSize() int64 { method emitHeaderIfNeeded (line 53) | func (w *Writer) emitHeaderIfNeeded() error { method Write (line 64) | func (w *Writer) Write(p []byte) (int, error) { method flushPack (line 84) | func (w *Writer) flushPack(pack []byte) (int, error) { method Close (line 104) | func (w *Writer) Close() error { method ReadFrom (line 129) | func (w *Writer) ReadFrom(r io.Reader) (int64, error) { function NewWriter (line 176) | func NewWriter(w io.Writer, key []byte, flags Flags) (*Writer, error) { function NewWriterWithBlockSize (line 183) | func NewWriterWithBlockSize(w io.Writer, key []byte, flags Flags, maxBlo... FILE: catfs/mio/pagecache/cache.go type Cache (line 9) | type Cache interface FILE: catfs/mio/pagecache/mdcache/l1.go type l1item (line 31) | type l1item struct type l1cache (line 36) | type l1cache struct method Set (line 52) | func (c *l1cache) Set(pk pageKey, p *page.Page) error { method Get (line 101) | func (c *l1cache) Get(pk pageKey) (*page.Page, error) { method Del (line 112) | func (c *l1cache) Del(pks []pageKey) { method Close (line 122) | func (c *l1cache) Close() error { function newL1Cache (line 43) | func newL1Cache(l2 cacheLayer, maxMemory int64) (*l1cache, error) { FILE: catfs/mio/pagecache/mdcache/l1_test.go function withL1Cache (line 10) | func withL1Cache(t *testing.T, fn func(l1, backing *l1cache)) { function TestL1GetSetDel (line 24) | func TestL1GetSetDel(t *testing.T) { function TestL1SwapPriority (line 46) | func TestL1SwapPriority(t *testing.T) { FILE: catfs/mio/pagecache/mdcache/l2.go type l2cache (line 19) | type l2cache struct method Set (line 45) | func (c *l2cache) Set(pk pageKey, p *page.Page) error { method Get (line 62) | func (c *l2cache) Get(pk pageKey) (*page.Page, error) { method Del (line 86) | func (c *l2cache) Del(pks []pageKey) { method Close (line 103) | func (c *l2cache) Close() error { function newL2Cache (line 28) | func newL2Cache(dir string, compress bool) (*l2cache, error) { FILE: catfs/mio/pagecache/mdcache/l2_test.go function dummyPage (line 13) | func dummyPage(off, length uint32) *page.Page { function withL2Cache (line 18) | func withL2Cache(t *testing.T, fn func(l2 *l2cache)) { function TestL2GetSetDel (line 44) | func TestL2GetSetDel(t *testing.T) { function TestL2Nil (line 65) | func TestL2Nil(t *testing.T) { FILE: catfs/mio/pagecache/mdcache/mdcache.go type Options (line 13) | type Options struct type cacheLayer (line 34) | type cacheLayer interface type MDCache (line 42) | type MDCache struct method Lookup (line 87) | func (dc *MDCache) Lookup(inode int64, pageIdx uint32) (*page.Page, er... method get (line 94) | func (dc *MDCache) get(pk pageKey) (*page.Page, error) { method Merge (line 119) | func (dc *MDCache) Merge(inode int64, pageIdx, off uint32, write []byt... method Evict (line 149) | func (dc *MDCache) Evict(inode, size int64) error { method Close (line 170) | func (dc *MDCache) Close() error { type pageKey (line 49) | type pageKey struct method String (line 54) | func (pk pageKey) String() string { function New (line 59) | func New(opts Options) (*MDCache, error) { FILE: catfs/mio/pagecache/mdcache/mdcache_test.go function withMDCache (line 13) | func withMDCache(t *testing.T, fn func(mdc *MDCache)) { function TestMDBasic (line 31) | func TestMDBasic(t *testing.T) { FILE: catfs/mio/pagecache/overlay.go type Layer (line 14) | type Layer struct method ensureOffset (line 70) | func (l *Layer) ensureOffset(zpr *zeroPadReader) error { method WriteAt (line 91) | func (l *Layer) WriteAt(buf []byte, off int64) (n int, err error) { method ReadAt (line 164) | func (l *Layer) ReadAt(buf []byte, off int64) (int, error) { method Truncate (line 280) | func (l *Layer) Truncate(size int64) { method Length (line 288) | func (l *Layer) Length() int64 { method Read (line 301) | func (l *Layer) Read(buf []byte) (int, error) { method Write (line 307) | func (l *Layer) Write(buf []byte) (int, error) { method Seek (line 316) | func (l *Layer) Seek(off int64, whence int) (int64, error) { method Close (line 333) | func (l *Layer) Close() error { method WriteTo (line 338) | func (l *Layer) WriteTo(w io.Writer) (int64, error) { function NewLayer (line 56) | func NewLayer(rs io.ReadSeeker, cache Cache, inode, size int64) (*Layer,... FILE: catfs/mio/pagecache/overlay_test.go function withLayer (line 17) | func withLayer(t *testing.T, size int64, fn func(expected []byte, p *Lay... function TestReadOnly (line 49) | func TestReadOnly(t *testing.T) { function padOrCutToLength (line 63) | func padOrCutToLength(buf []byte, length int64) []byte { function TestReadOnlyTruncate (line 73) | func TestReadOnlyTruncate(t *testing.T) { function TestWriteSingle (line 124) | func TestWriteSingle(t *testing.T) { function TestWriteRandomOffset (line 152) | func TestWriteRandomOffset(t *testing.T) { function TestReadRandomOffset (line 219) | func TestReadRandomOffset(t *testing.T) { FILE: catfs/mio/pagecache/page/page.go constant Size (line 20) | Size = 64 * 1024 constant Meta (line 25) | Meta = 4 * 1024 constant ExtentSize (line 28) | ExtentSize = 8 type Extent (line 49) | type Extent struct method String (line 53) | func (e Extent) String() string { type Page (line 58) | type Page struct method String (line 69) | func (p *Page) String() string { method AsBytes (line 137) | func (p *Page) AsBytes() []byte { method affectedExtentIdxs (line 191) | func (p *Page) affectedExtentIdxs(lo, hi uint32) (int, int) { method OccludesStream (line 212) | func (p *Page) OccludesStream(pageOff, length uint32) bool { method Overlay (line 239) | func (p *Page) Overlay(off uint32, write []byte) { method updateExtents (line 256) | func (p *Page) updateExtents(off, offPlusWrite uint32) { method Underlay (line 339) | func (p *Page) Underlay(pageOff uint32, write []byte) { function New (line 83) | func New(off uint32, write []byte) *Page { function FromBytes (line 95) | func FromBytes(data []byte) (*Page, error) { function minUint32 (line 326) | func minUint32(a, b uint32) uint32 { FILE: catfs/mio/pagecache/page/page_test.go function TestPageAffectedIndices (line 10) | func TestPageAffectedIndices(t *testing.T) { function TestPageSerializeDeserialize (line 64) | func TestPageSerializeDeserialize(t *testing.T) { function TestPageSerializeWithManyWrites (line 75) | func TestPageSerializeWithManyWrites(t *testing.T) { function TestPageOccludeStreamBasic (line 96) | func TestPageOccludeStreamBasic(t *testing.T) { function TestPageOccludeStreamInExtent (line 113) | func TestPageOccludeStreamInExtent(t *testing.T) { function TestPageAddExtent (line 123) | func TestPageAddExtent(t *testing.T) { function TestPageAddExtentRegression (line 168) | func TestPageAddExtentRegression(t *testing.T) { function TestPageUnderlayFull (line 177) | func TestPageUnderlayFull(t *testing.T) { function TestPageUnderlayPartial (line 189) | func TestPageUnderlayPartial(t *testing.T) { function TestPageUnderlayLeftover (line 213) | func TestPageUnderlayLeftover(t *testing.T) { FILE: catfs/mio/pagecache/util.go type iobuf (line 9) | type iobuf struct method Write (line 14) | func (ib *iobuf) Write(src []byte) (int, error) { method Len (line 20) | func (ib *iobuf) Len() int { method Left (line 24) | func (ib *iobuf) Left() int { type zeroPadReader (line 31) | type zeroPadReader struct method Read (line 46) | func (zpr *zeroPadReader) Read(buf []byte) (int, error) { function memzero (line 36) | func memzero(buf []byte) { function copyNBuffer (line 83) | func copyNBuffer(dst io.Writer, src io.Reader, n int64, buf []byte) (wri... FILE: catfs/mio/pagecache/util_test.go function TestZeroPaddedReader (line 13) | func TestZeroPaddedReader(t *testing.T) { function TestIOBuf (line 69) | func TestIOBuf(t *testing.T) { function BenchmarkZeroing (line 115) | func BenchmarkZeroing(b *testing.B) { FILE: catfs/mio/stream.go type Stream (line 16) | type Stream interface type stream (line 23) | type stream struct type dumbWriterTo (line 30) | type dumbWriterTo struct method WriteTo (line 34) | func (d dumbWriterTo) WriteTo(w io.Writer) (n int64, err error) { function NewOutStream (line 41) | func NewOutStream(r io.ReadSeeker, isRaw bool, key []byte) (Stream, erro... function guessCompression (line 119) | func guessCompression(path string, r io.Reader, hint *hints.Hint) (io.Re... function NewInStream (line 150) | func NewInStream(r io.Reader, path string, key []byte, hint hints.Hint) ... type limitedStream (line 213) | type limitedStream struct method Read (line 219) | func (ls *limitedStream) Read(buf []byte) (int, error) { method Seek (line 238) | func (ls *limitedStream) Seek(offset int64, whence int) (int64, error) { method WriteTo (line 262) | func (ls *limitedStream) WriteTo(w io.Writer) (int64, error) { method Close (line 268) | func (ls *limitedStream) Close() error { function LimitStream (line 274) | func LimitStream(stream Stream, size uint64) Stream { FILE: catfs/mio/stream_test.go function testWriteAndRead (line 19) | func testWriteAndRead( function TestWriteAndRead (line 77) | func TestWriteAndRead(t *testing.T) { function TestLimitedStream (line 110) | func TestLimitedStream(t *testing.T) { function TestLimitStreamSize (line 185) | func TestLimitStreamSize(t *testing.T) { function TestStreamSizeBySeek (line 221) | func TestStreamSizeBySeek(t *testing.T) { FILE: catfs/nodes/base.go type Base (line 17) | type Base struct method copyBase (line 44) | func (b *Base) copyBase(inode uint64) Base { method User (line 58) | func (b *Base) User() string { method Name (line 64) | func (b *Base) Name() string { method TreeHash (line 69) | func (b *Base) TreeHash() h.Hash { method ContentHash (line 74) | func (b *Base) ContentHash() h.Hash { method BackendHash (line 79) | func (b *Base) BackendHash() h.Hash { method Type (line 84) | func (b *Base) Type() NodeType { method ModTime (line 90) | func (b *Base) ModTime() time.Time { method Inode (line 95) | func (b *Base) Inode() uint64 { method setBaseAttrsToNode (line 101) | func (b *Base) setBaseAttrsToNode(capnode capnp_model.Node) error { method parseBaseAttrsFromNode (line 130) | func (b *Base) parseBaseAttrsFromNode(capnode capnp_model.Node) error { function prefixSlash (line 184) | func prefixSlash(s string) string { function MarshalNode (line 198) | func MarshalNode(nd Node) ([]byte, error) { function UnmarshalNode (line 208) | func UnmarshalNode(data []byte) (Node, error) { function CapNodeToNode (line 223) | func CapNodeToNode(capNd capnp_model.Node) (Node, error) { function Depth (line 254) | func Depth(nd Node) int { function RemoveNode (line 272) | func RemoveNode(lkr Linker, nd Node) error { function ParentDirectory (line 288) | func ParentDirectory(lkr Linker, nd Node) (*Directory, error) { function ContentHash (line 309) | func ContentHash(nd Node) (h.Hash, error) { FILE: catfs/nodes/capnp/nodes.capnp.go type Commit (line 13) | type Commit struct method String (line 34) | func (s Commit) String() string { method Message (line 39) | func (s Commit) Message() (string, error) { method HasMessage (line 44) | func (s Commit) HasMessage() bool { method MessageBytes (line 49) | func (s Commit) MessageBytes() ([]byte, error) { method SetMessage (line 54) | func (s Commit) SetMessage(v string) error { method Author (line 58) | func (s Commit) Author() (string, error) { method HasAuthor (line 63) | func (s Commit) HasAuthor() bool { method AuthorBytes (line 68) | func (s Commit) AuthorBytes() ([]byte, error) { method SetAuthor (line 73) | func (s Commit) SetAuthor(v string) error { method Parent (line 77) | func (s Commit) Parent() ([]byte, error) { method HasParent (line 82) | func (s Commit) HasParent() bool { method SetParent (line 87) | func (s Commit) SetParent(v []byte) error { method Root (line 91) | func (s Commit) Root() ([]byte, error) { method HasRoot (line 96) | func (s Commit) HasRoot() bool { method SetRoot (line 101) | func (s Commit) SetRoot(v []byte) error { method Index (line 105) | func (s Commit) Index() int64 { method SetIndex (line 109) | func (s Commit) SetIndex(v int64) { method Merge (line 113) | func (s Commit) Merge() Commit_merge { return Commit_merge(s) } type Commit_merge (line 14) | type Commit_merge method With (line 115) | func (s Commit_merge) With() (string, error) { method HasWith (line 120) | func (s Commit_merge) HasWith() bool { method WithBytes (line 125) | func (s Commit_merge) WithBytes() ([]byte, error) { method SetWith (line 130) | func (s Commit_merge) SetWith(v string) error { method Head (line 134) | func (s Commit_merge) Head() ([]byte, error) { method HasHead (line 139) | func (s Commit_merge) HasHead() bool { method SetHead (line 144) | func (s Commit_merge) SetHead(v []byte) error { constant Commit_TypeID (line 17) | Commit_TypeID = 0x8da013c66e545daf function NewCommit (line 19) | func NewCommit(s *capnp.Segment) (Commit, error) { function NewRootCommit (line 24) | func NewRootCommit(s *capnp.Segment) (Commit, error) { function ReadRootCommit (line 29) | func ReadRootCommit(msg *capnp.Message) (Commit, error) { type Commit_List (line 149) | type Commit_List struct method At (line 157) | func (s Commit_List) At(i int) Commit { return Commit{s.List.Struct(i)} } method Set (line 159) | func (s Commit_List) Set(i int, v Commit) error { return s.List.SetStr... method String (line 161) | func (s Commit_List) String() string { function NewCommit_List (line 152) | func NewCommit_List(s *capnp.Segment, sz int32) (Commit_List, error) { type Commit_Promise (line 167) | type Commit_Promise struct method Struct (line 169) | func (p Commit_Promise) Struct() (Commit, error) { method Merge (line 174) | func (p Commit_Promise) Merge() Commit_merge_Promise { return Commit_m... type Commit_merge_Promise (line 177) | type Commit_merge_Promise struct method Struct (line 179) | func (p Commit_merge_Promise) Struct() (Commit_merge, error) { type DirEntry (line 185) | type DirEntry struct method String (line 205) | func (s DirEntry) String() string { method Name (line 210) | func (s DirEntry) Name() (string, error) { method HasName (line 215) | func (s DirEntry) HasName() bool { method NameBytes (line 220) | func (s DirEntry) NameBytes() ([]byte, error) { method SetName (line 225) | func (s DirEntry) SetName(v string) error { method Hash (line 229) | func (s DirEntry) Hash() ([]byte, error) { method HasHash (line 234) | func (s DirEntry) HasHash() bool { method SetHash (line 239) | func (s DirEntry) SetHash(v []byte) error { constant DirEntry_TypeID (line 188) | DirEntry_TypeID = 0x8b15ee76774b1f9d function NewDirEntry (line 190) | func NewDirEntry(s *capnp.Segment) (DirEntry, error) { function NewRootDirEntry (line 195) | func NewRootDirEntry(s *capnp.Segment) (DirEntry, error) { function ReadRootDirEntry (line 200) | func ReadRootDirEntry(msg *capnp.Message) (DirEntry, error) { type DirEntry_List (line 244) | type DirEntry_List struct method At (line 252) | func (s DirEntry_List) At(i int) DirEntry { return DirEntry{s.List.Str... method Set (line 254) | func (s DirEntry_List) Set(i int, v DirEntry) error { return s.List.Se... method String (line 256) | func (s DirEntry_List) String() string { function NewDirEntry_List (line 247) | func NewDirEntry_List(s *capnp.Segment, sz int32) (DirEntry_List, error) { type DirEntry_Promise (line 262) | type DirEntry_Promise struct method Struct (line 264) | func (p DirEntry_Promise) Struct() (DirEntry, error) { type Directory (line 270) | type Directory struct method String (line 290) | func (s Directory) String() string { method Size (line 295) | func (s Directory) Size() uint64 { method SetSize (line 299) | func (s Directory) SetSize(v uint64) { method CachedSize (line 303) | func (s Directory) CachedSize() int64 { method SetCachedSize (line 307) | func (s Directory) SetCachedSize(v int64) { method Parent (line 311) | func (s Directory) Parent() (string, error) { method HasParent (line 316) | func (s Directory) HasParent() bool { method ParentBytes (line 321) | func (s Directory) ParentBytes() ([]byte, error) { method SetParent (line 326) | func (s Directory) SetParent(v string) error { method Children (line 330) | func (s Directory) Children() (DirEntry_List, error) { method HasChildren (line 335) | func (s Directory) HasChildren() bool { method SetChildren (line 340) | func (s Directory) SetChildren(v DirEntry_List) error { method NewChildren (line 346) | func (s Directory) NewChildren(n int32) (DirEntry_List, error) { method Contents (line 355) | func (s Directory) Contents() (DirEntry_List, error) { method HasContents (line 360) | func (s Directory) HasContents() bool { method SetContents (line 365) | func (s Directory) SetContents(v DirEntry_List) error { method NewContents (line 371) | func (s Directory) NewContents(n int32) (DirEntry_List, error) { constant Directory_TypeID (line 273) | Directory_TypeID = 0xe24c59306c829c01 function NewDirectory (line 275) | func NewDirectory(s *capnp.Segment) (Directory, error) { function NewRootDirectory (line 280) | func NewRootDirectory(s *capnp.Segment) (Directory, error) { function ReadRootDirectory (line 285) | func ReadRootDirectory(msg *capnp.Message) (Directory, error) { type Directory_List (line 381) | type Directory_List struct method At (line 389) | func (s Directory_List) At(i int) Directory { return Directory{s.List.... method Set (line 391) | func (s Directory_List) Set(i int, v Directory) error { return s.List.... method String (line 393) | func (s Directory_List) String() string { function NewDirectory_List (line 384) | func NewDirectory_List(s *capnp.Segment, sz int32) (Directory_List, erro... type Directory_Promise (line 399) | type Directory_Promise struct method Struct (line 401) | func (p Directory_Promise) Struct() (Directory, error) { type File (line 407) | type File struct method String (line 427) | func (s File) String() string { method Size (line 432) | func (s File) Size() uint64 { method SetSize (line 436) | func (s File) SetSize(v uint64) { method CachedSize (line 440) | func (s File) CachedSize() int64 { method SetCachedSize (line 444) | func (s File) SetCachedSize(v int64) { method Parent (line 448) | func (s File) Parent() (string, error) { method HasParent (line 453) | func (s File) HasParent() bool { method ParentBytes (line 458) | func (s File) ParentBytes() ([]byte, error) { method SetParent (line 463) | func (s File) SetParent(v string) error { method Key (line 467) | func (s File) Key() ([]byte, error) { method HasKey (line 472) | func (s File) HasKey() bool { method SetKey (line 477) | func (s File) SetKey(v []byte) error { method IsRaw (line 481) | func (s File) IsRaw() bool { method SetIsRaw (line 485) | func (s File) SetIsRaw(v bool) { constant File_TypeID (line 410) | File_TypeID = 0x8ea7393d37893155 function NewFile (line 412) | func NewFile(s *capnp.Segment) (File, error) { function NewRootFile (line 417) | func NewRootFile(s *capnp.Segment) (File, error) { function ReadRootFile (line 422) | func ReadRootFile(msg *capnp.Message) (File, error) { type File_List (line 490) | type File_List struct method At (line 498) | func (s File_List) At(i int) File { return File{s.List.Struct(i)} } method Set (line 500) | func (s File_List) Set(i int, v File) error { return s.List.SetStruct(... method String (line 502) | func (s File_List) String() string { function NewFile_List (line 493) | func NewFile_List(s *capnp.Segment, sz int32) (File_List, error) { type File_Promise (line 508) | type File_Promise struct method Struct (line 510) | func (p File_Promise) Struct() (File, error) { type Ghost (line 516) | type Ghost struct method String (line 557) | func (s Ghost) String() string { method Which (line 562) | func (s Ghost) Which() Ghost_Which { method GhostInode (line 565) | func (s Ghost) GhostInode() uint64 { method SetGhostInode (line 569) | func (s Ghost) SetGhostInode(v uint64) { method GhostPath (line 573) | func (s Ghost) GhostPath() (string, error) { method HasGhostPath (line 578) | func (s Ghost) HasGhostPath() bool { method GhostPathBytes (line 583) | func (s Ghost) GhostPathBytes() ([]byte, error) { method SetGhostPath (line 588) | func (s Ghost) SetGhostPath(v string) error { method Commit (line 592) | func (s Ghost) Commit() (Commit, error) { method HasCommit (line 600) | func (s Ghost) HasCommit() bool { method SetCommit (line 608) | func (s Ghost) SetCommit(v Commit) error { method NewCommit (line 615) | func (s Ghost) NewCommit() (Commit, error) { method Directory (line 625) | func (s Ghost) Directory() (Directory, error) { method HasDirectory (line 633) | func (s Ghost) HasDirectory() bool { method SetDirectory (line 641) | func (s Ghost) SetDirectory(v Directory) error { method NewDirectory (line 648) | func (s Ghost) NewDirectory() (Directory, error) { method File (line 658) | func (s Ghost) File() (File, error) { method HasFile (line 666) | func (s Ghost) HasFile() bool { method SetFile (line 674) | func (s Ghost) SetFile(v File) error { method NewFile (line 681) | func (s Ghost) NewFile() (File, error) { type Ghost_Which (line 517) | type Ghost_Which method String (line 525) | func (w Ghost_Which) String() string { constant Ghost_Which_commit (line 520) | Ghost_Which_commit Ghost_Which = 0 constant Ghost_Which_directory (line 521) | Ghost_Which_directory Ghost_Which = 1 constant Ghost_Which_file (line 522) | Ghost_Which_file Ghost_Which = 2 constant Ghost_TypeID (line 540) | Ghost_TypeID = 0x80c828d7e89c12ea function NewGhost (line 542) | func NewGhost(s *capnp.Segment) (Ghost, error) { function NewRootGhost (line 547) | func NewRootGhost(s *capnp.Segment) (Ghost, error) { function ReadRootGhost (line 552) | func ReadRootGhost(msg *capnp.Message) (Ghost, error) { type Ghost_List (line 692) | type Ghost_List struct method At (line 700) | func (s Ghost_List) At(i int) Ghost { return Ghost{s.List.Struct(i)} } method Set (line 702) | func (s Ghost_List) Set(i int, v Ghost) error { return s.List.SetStruc... method String (line 704) | func (s Ghost_List) String() string { function NewGhost_List (line 695) | func NewGhost_List(s *capnp.Segment, sz int32) (Ghost_List, error) { type Ghost_Promise (line 710) | type Ghost_Promise struct method Struct (line 712) | func (p Ghost_Promise) Struct() (Ghost, error) { method Commit (line 717) | func (p Ghost_Promise) Commit() Commit_Promise { method Directory (line 721) | func (p Ghost_Promise) Directory() Directory_Promise { method File (line 725) | func (p Ghost_Promise) File() File_Promise { type Node (line 730) | type Node struct method String (line 774) | func (s Node) String() string { method Which (line 779) | func (s Node) Which() Node_Which { method Name (line 782) | func (s Node) Name() (string, error) { method HasName (line 787) | func (s Node) HasName() bool { method NameBytes (line 792) | func (s Node) NameBytes() ([]byte, error) { method SetName (line 797) | func (s Node) SetName(v string) error { method TreeHash (line 801) | func (s Node) TreeHash() ([]byte, error) { method HasTreeHash (line 806) | func (s Node) HasTreeHash() bool { method SetTreeHash (line 811) | func (s Node) SetTreeHash(v []byte) error { method ModTime (line 815) | func (s Node) ModTime() (string, error) { method HasModTime (line 820) | func (s Node) HasModTime() bool { method ModTimeBytes (line 825) | func (s Node) ModTimeBytes() ([]byte, error) { method SetModTime (line 830) | func (s Node) SetModTime(v string) error { method Inode (line 834) | func (s Node) Inode() uint64 { method SetInode (line 838) | func (s Node) SetInode(v uint64) { method ContentHash (line 842) | func (s Node) ContentHash() ([]byte, error) { method HasContentHash (line 847) | func (s Node) HasContentHash() bool { method SetContentHash (line 852) | func (s Node) SetContentHash(v []byte) error { method User (line 856) | func (s Node) User() (string, error) { method HasUser (line 861) | func (s Node) HasUser() bool { method UserBytes (line 866) | func (s Node) UserBytes() ([]byte, error) { method SetUser (line 871) | func (s Node) SetUser(v string) error { method Commit (line 875) | func (s Node) Commit() (Commit, error) { method HasCommit (line 883) | func (s Node) HasCommit() bool { method SetCommit (line 891) | func (s Node) SetCommit(v Commit) error { method NewCommit (line 898) | func (s Node) NewCommit() (Commit, error) { method Directory (line 908) | func (s Node) Directory() (Directory, error) { method HasDirectory (line 916) | func (s Node) HasDirectory() bool { method SetDirectory (line 924) | func (s Node) SetDirectory(v Directory) error { method NewDirectory (line 931) | func (s Node) NewDirectory() (Directory, error) { method File (line 941) | func (s Node) File() (File, error) { method HasFile (line 949) | func (s Node) HasFile() bool { method SetFile (line 957) | func (s Node) SetFile(v File) error { method NewFile (line 964) | func (s Node) NewFile() (File, error) { method Ghost (line 974) | func (s Node) Ghost() (Ghost, error) { method HasGhost (line 982) | func (s Node) HasGhost() bool { method SetGhost (line 990) | func (s Node) SetGhost(v Ghost) error { method NewGhost (line 997) | func (s Node) NewGhost() (Ghost, error) { method BackendHash (line 1007) | func (s Node) BackendHash() ([]byte, error) { method HasBackendHash (line 1012) | func (s Node) HasBackendHash() bool { method SetBackendHash (line 1017) | func (s Node) SetBackendHash(v []byte) error { type Node_Which (line 731) | type Node_Which method String (line 740) | func (w Node_Which) String() string { constant Node_Which_commit (line 734) | Node_Which_commit Node_Which = 0 constant Node_Which_directory (line 735) | Node_Which_directory Node_Which = 1 constant Node_Which_file (line 736) | Node_Which_file Node_Which = 2 constant Node_Which_ghost (line 737) | Node_Which_ghost Node_Which = 3 constant Node_TypeID (line 757) | Node_TypeID = 0xa629eb7f7066fae3 function NewNode (line 759) | func NewNode(s *capnp.Segment) (Node, error) { function NewRootNode (line 764) | func NewRootNode(s *capnp.Segment) (Node, error) { function ReadRootNode (line 769) | func ReadRootNode(msg *capnp.Message) (Node, error) { type Node_List (line 1022) | type Node_List struct method At (line 1030) | func (s Node_List) At(i int) Node { return Node{s.List.Struct(i)} } method Set (line 1032) | func (s Node_List) Set(i int, v Node) error { return s.List.SetStruct(... method String (line 1034) | func (s Node_List) String() string { function NewNode_List (line 1025) | func NewNode_List(s *capnp.Segment, sz int32) (Node_List, error) { type Node_Promise (line 1040) | type Node_Promise struct method Struct (line 1042) | func (p Node_Promise) Struct() (Node, error) { method Commit (line 1047) | func (p Node_Promise) Commit() Commit_Promise { method Directory (line 1051) | func (p Node_Promise) Directory() Directory_Promise { method File (line 1055) | func (p Node_Promise) File() File_Promise { method Ghost (line 1059) | func (p Node_Promise) Ghost() Ghost_Promise { constant schema_9195d073cb5c5953 (line 1063) | schema_9195d073cb5c5953 = "x\xda\xb4\x96\xefk\x14\xd7\x1a\xc7\x9f\xef9\x... function init (line 1146) | func init() { FILE: catfs/nodes/commit.go constant AuthorOfStage (line 17) | AuthorOfStage = "unknown" type Commit (line 21) | type Commit struct method ToCapnp (line 64) | func (c *Commit) ToCapnp() (*capnp.Message, error) { method ToCapnpNode (line 79) | func (c *Commit) ToCapnpNode(seg *capnp.Segment, capNd capnp_model.Nod... method setCommitAttrs (line 92) | func (c *Commit) setCommitAttrs(seg *capnp.Segment) (*capnp_model.Comm... method FromCapnp (line 129) | func (c *Commit) FromCapnp(msg *capnp.Message) error { method FromCapnpNode (line 139) | func (c *Commit) FromCapnpNode(capNd capnp_model.Node) error { method readCommitAttrs (line 153) | func (c *Commit) readCommitAttrs(capCmt capnp_model.Commit) error { method IsBoxed (line 190) | func (c *Commit) IsBoxed() bool { method Root (line 205) | func (c *Commit) Root() h.Hash { method SetRoot (line 210) | func (c *Commit) SetRoot(hash h.Hash) { method BoxCommit (line 217) | func (c *Commit) BoxCommit(author string, message string) error { method String (line 245) | func (c *Commit) String() string { method SetMergeMarker (line 255) | func (c *Commit) SetMergeMarker(with string, remoteHead h.Hash) { method MergeMarker (line 261) | func (c *Commit) MergeMarker() (string, h.Hash) { method Name (line 268) | func (c *Commit) Name() string { method Message (line 273) | func (c *Commit) Message() string { method Path (line 278) | func (c *Commit) Path() string { method Size (line 285) | func (c *Commit) Size() uint64 { method CachedSize (line 291) | func (c *Commit) CachedSize() int64 { return 0 } method Index (line 295) | func (c *Commit) Index() int64 { method NChildren (line 303) | func (c *Commit) NChildren() int { method Child (line 308) | func (c *Commit) Child(lkr Linker, _ string) (Node, error) { method Parent (line 315) | func (c *Commit) Parent(lkr Linker) (Node, error) { method SetParent (line 324) | func (c *Commit) SetParent(lkr Linker, nd Node) error { method SetModTime (line 331) | func (c *Commit) SetModTime(t time.Time) { function NewEmptyCommit (line 51) | func NewEmptyCommit(inode uint64, index int64) (*Commit, error) { function padHash (line 197) | func padHash(hash h.Hash) []byte { FILE: catfs/nodes/commit_test.go function TestCommit (line 11) | func TestCommit(t *testing.T) { FILE: catfs/nodes/directory.go type Directory (line 19) | type Directory struct method String (line 65) | func (d *Directory) String() string { method ToCapnp (line 70) | func (d *Directory) ToCapnp() (*capnp.Message, error) { method ToCapnpNode (line 85) | func (d *Directory) ToCapnpNode(seg *capnp.Segment, capNd capnp_model.... method setDirectoryAttrs (line 98) | func (d *Directory) setDirectoryAttrs(seg *capnp.Segment) (*capnp_mode... method FromCapnp (line 171) | func (d *Directory) FromCapnp(msg *capnp.Message) error { method FromCapnpNode (line 181) | func (d *Directory) FromCapnpNode(capNd capnp_model.Node) error { method readDirectoryAttr (line 194) | func (d *Directory) readDirectoryAttr(capDir capnp_model.Directory) er... method Name (line 255) | func (d *Directory) Name() string { method Size (line 261) | func (d *Directory) Size() uint64 { method CachedSize (line 266) | func (d *Directory) CachedSize() int64 { method Path (line 271) | func (d *Directory) Path() string { method NChildren (line 276) | func (d *Directory) NChildren() int { method Child (line 281) | func (d *Directory) Child(lkr Linker, name string) (Node, error) { method Parent (line 292) | func (d *Directory) Parent(lkr Linker) (Node, error) { method SetParent (line 301) | func (d *Directory) SetParent(lkr Linker, nd Node) error { method VisitChildren (line 319) | func (d *Directory) VisitChildren(lkr Linker, fn func(nd Node) error) ... method ChildrenSorted (line 342) | func (d *Directory) ChildrenSorted(lkr Linker) ([]Node, error) { method Up (line 358) | func (d *Directory) Up(lkr Linker, visit func(par *Directory) error) e... method IsRoot (line 404) | func (d *Directory) IsRoot() bool { method Lookup (line 479) | func (d *Directory) Lookup(lkr Linker, repoPath string) (Node, error) { method SetSize (line 517) | func (d *Directory) SetSize(size uint64) { d.size = size } method SetCachedSize (line 520) | func (d *Directory) SetCachedSize(cachedSize int64) { d.cachedSize = c... method SetName (line 523) | func (d *Directory) SetName(name string) { method SetModTime (line 528) | func (d *Directory) SetModTime(modTime time.Time) { method Copy (line 533) | func (d *Directory) Copy(inode uint64) ModNode { method rehash (line 558) | func (d *Directory) rehash(lkr Linker, updateContentHash bool) error { method Add (line 583) | func (d *Directory) Add(lkr Linker, nd Node) error { method RemoveChild (line 655) | func (d *Directory) RemoveChild(lkr Linker, nd Node) error { method rebuildOrderCache (line 700) | func (d *Directory) rebuildOrderCache() { method NotifyMove (line 709) | func (d *Directory) NotifyMove(lkr Linker, newParent *Directory, newPa... method SetUser (line 783) | func (d *Directory) SetUser(user string) { function NewEmptyDirectory (line 31) | func NewEmptyDirectory( function Walk (line 420) | func Walk(lkr Linker, node Node, dfs bool, visit func(child Node) error)... FILE: catfs/nodes/directory_test.go function TestDirectoryBasics (line 11) | func TestDirectoryBasics(t *testing.T) { FILE: catfs/nodes/file.go type File (line 15) | type File struct method ToCapnp (line 40) | func (f *File) ToCapnp() (*capnp.Message, error) { method ToCapnpNode (line 55) | func (f *File) ToCapnpNode(seg *capnp.Segment, capNd capnp_model.Node)... method setFileAttrs (line 68) | func (f *File) setFileAttrs(seg *capnp.Segment) (*capnp_model.File, er... method FromCapnp (line 89) | func (f *File) FromCapnp(msg *capnp.Message) error { method FromCapnpNode (line 99) | func (f *File) FromCapnpNode(capNd capnp_model.Node) error { method readFileAttrs (line 112) | func (f *File) readFileAttrs(capFile capnp_model.File) error { method Size (line 131) | func (f *File) Size() uint64 { return f.size } method CachedSize (line 134) | func (f *File) CachedSize() int64 { return f.cachedSize } method SetModTime (line 139) | func (f *File) SetModTime(t time.Time) { method SetName (line 144) | func (f *File) SetName(n string) { f.name = n } method SetIsRaw (line 147) | func (f *File) SetIsRaw(isRaw bool) { f.isRaw = isRaw } method SetKey (line 150) | func (f *File) SetKey(k []byte) { f.key = k } method SetSize (line 153) | func (f *File) SetSize(s uint64) { method SetCachedSize (line 159) | func (f *File) SetCachedSize(s int64) { method Copy (line 165) | func (f *File) Copy(inode uint64) ModNode { method rehash (line 185) | func (f *File) rehash(lkr Linker, newPath string) { method NotifyMove (line 199) | func (f *File) NotifyMove(lkr Linker, newParent *Directory, newPath st... method SetContent (line 217) | func (f *File) SetContent(lkr Linker, content h.Hash) { method SetBackend (line 224) | func (f *File) SetBackend(lkr Linker, backend h.Hash) { method String (line 229) | func (f *File) String() string { method Path (line 240) | func (f *File) Path() string { method IsRaw (line 246) | func (f *File) IsRaw() bool { return f.isRaw } method NChildren (line 251) | func (f *File) NChildren() int { method Child (line 256) | func (f *File) Child(_ Linker, name string) (Node, error) { method Parent (line 263) | func (f *File) Parent(lkr Linker) (Node, error) { method SetParent (line 268) | func (f *File) SetParent(_ Linker, parent Node) error { method Key (line 278) | func (f *File) Key() []byte { method SetUser (line 283) | func (f *File) SetUser(user string) { function NewEmptyFile (line 26) | func NewEmptyFile(parent *Directory, name string, user string, inode uin... FILE: catfs/nodes/file_test.go function TestFile (line 12) | func TestFile(t *testing.T) { FILE: catfs/nodes/ghost.go type Ghost (line 16) | type Ghost struct method Type (line 42) | func (g *Ghost) Type() NodeType { method OldNode (line 47) | func (g *Ghost) OldNode() ModNode { method OldFile (line 53) | func (g *Ghost) OldFile() (*File, error) { method OldDirectory (line 64) | func (g *Ghost) OldDirectory() (*Directory, error) { method String (line 73) | func (g *Ghost) String() string { method Path (line 78) | func (g *Ghost) Path() string { method TreeHash (line 83) | func (g *Ghost) TreeHash() h.Hash { method Inode (line 88) | func (g *Ghost) Inode() uint64 { method SetGhostPath (line 93) | func (g *Ghost) SetGhostPath(newPath string) { method ToCapnp (line 98) | func (g *Ghost) ToCapnp() (*capnp.Message, error) { method ToCapnpNode (line 113) | func (g *Ghost) ToCapnpNode(seg *capnp.Segment, capNd capnp_model.Node... method FromCapnp (line 174) | func (g *Ghost) FromCapnp(msg *capnp.Message) error { method FromCapnpNode (line 184) | func (g *Ghost) FromCapnpNode(capNd capnp_model.Node) error { function MakeGhost (line 28) | func MakeGhost(nd ModNode, inode uint64) (*Ghost, error) { FILE: catfs/nodes/ghost_test.go function TestGhost (line 11) | func TestGhost(t *testing.T) { FILE: catfs/nodes/linker.go type Linker (line 14) | type Linker interface type MockLinker (line 41) | type MockLinker struct method Root (line 57) | func (ml *MockLinker) Root() (*Directory, error) { method LookupNode (line 72) | func (ml *MockLinker) LookupNode(path string) (Node, error) { method NodeByHash (line 81) | func (ml *MockLinker) NodeByHash(hash h.Hash) (Node, error) { method MemSetRoot (line 90) | func (ml *MockLinker) MemSetRoot(root *Directory) { method MemIndexSwap (line 96) | func (ml *MockLinker) MemIndexSwap(nd Node, oldHash h.Hash, updatePath... method AddNode (line 103) | func (ml *MockLinker) AddNode(nd Node, updatePathIndex bool) { function NewMockLinker (line 48) | func NewMockLinker() *MockLinker { FILE: catfs/nodes/node.go type NodeType (line 12) | type NodeType method String (line 34) | func (n NodeType) String() string { constant NodeTypeUnknown (line 16) | NodeTypeUnknown = NodeType(iota) constant NodeTypeFile (line 18) | NodeTypeFile constant NodeTypeDirectory (line 20) | NodeTypeDirectory constant NodeTypeCommit (line 22) | NodeTypeCommit constant NodeTypeGhost (line 24) | NodeTypeGhost type Metadatable (line 43) | type Metadatable interface type Serializable (line 89) | type Serializable interface type HierarchyEntry (line 99) | type HierarchyEntry interface type Streamable (line 116) | type Streamable interface type Node (line 122) | type Node interface type ModNode (line 131) | type ModNode interface FILE: catfs/pinner.go type pinCacheEntry (line 19) | type pinCacheEntry struct function capnpToPinCacheEntry (line 23) | func capnpToPinCacheEntry(data []byte) (*pinCacheEntry, error) { function pinEnryToCapnpData (line 51) | func pinEnryToCapnpData(entry *pinCacheEntry) ([]byte, error) { type Pinner (line 94) | type Pinner struct method Close (line 106) | func (pc *Pinner) Close() error { method remember (line 127) | func (pc *Pinner) remember(inode uint64, hash h.Hash, isPinned, isExpl... method IsPinned (line 164) | func (pc *Pinner) IsPinned(inode uint64, hash h.Hash) (bool, bool, err... method Pin (line 201) | func (pc *Pinner) Pin(inode uint64, hash h.Hash, explicit bool) error { method Unpin (line 223) | func (pc *Pinner) Unpin(inode uint64, hash h.Hash, explicit bool) error { method doPinOp (line 245) | func (pc *Pinner) doPinOp(op func(uint64, h.Hash, bool) error, nd n.No... method PinNode (line 267) | func (pc *Pinner) PinNode(nd n.Node, explicit bool) error { method UnpinNode (line 272) | func (pc *Pinner) UnpinNode(nd n.Node, explicit bool) error { method IsNodePinned (line 279) | func (pc *Pinner) IsNodePinned(nd n.Node) (bool, bool, error) { function NewPinner (line 101) | func NewPinner(lkr *c.Linker, bk FsBackend) (*Pinner, error) { function getEntry (line 111) | func getEntry(kv db.Database, hash h.Hash) (*pinCacheEntry, error) { FILE: catfs/pinner_test.go function TestPinMemCache (line 12) | func TestPinMemCache(t *testing.T) { function TestPinRememberHashTwice (line 37) | func TestPinRememberHashTwice(t *testing.T) { function TestPinNode (line 72) | func TestPinNode(t *testing.T) { function TestPinEntryMarshal (line 105) | func TestPinEntryMarshal(t *testing.T) { function TestPinEmptyDir (line 123) | func TestPinEmptyDir(t *testing.T) { FILE: catfs/repin.go type partition (line 15) | type partition struct method partitionNodeHashes (line 33) | func (fs *FS) partitionNodeHashes(nd n.ModNode, minDepth, maxDepth int64... method ensurePin (line 94) | func (fs *FS) ensurePin(entries []n.ModNode) (uint64, error) { method ensureUnpin (line 134) | func (fs *FS) ensureUnpin(entries []n.ModNode) (uint64, error) { function findLastPinnedIdx (line 157) | func findLastPinnedIdx(pinner *Pinner, nds []n.ModNode) (int, error) { method balanceQuota (line 172) | func (fs *FS) balanceQuota(ps []*partition, totalStorage, quota uint64) ... method repin (line 217) | func (fs *FS) repin(root string) error { method Repin (line 312) | func (fs *FS) Repin(root string) error { FILE: catfs/repin_test.go function TestRepinDepthOnly (line 12) | func TestRepinDepthOnly(t *testing.T) { function TestRepinNoMaxDepth (line 23) | func TestRepinNoMaxDepth(t *testing.T) { function TestRepinDisabled (line 34) | func TestRepinDisabled(t *testing.T) { function TestRepinQuota (line 41) | func TestRepinQuota(t *testing.T) { function TestRepinKillAll (line 52) | func TestRepinKillAll(t *testing.T) { function TestRepinOldBehaviour (line 63) | func TestRepinOldBehaviour(t *testing.T) { function testRun (line 74) | func testRun(t *testing.T, fs *FS, split, n int) { FILE: catfs/rev.go function validateRev (line 28) | func validateRev(rev string) error { function parseRev (line 55) | func parseRev(lkr *c.Linker, rev string) (*n.Commit, error) { FILE: catfs/rev_test.go function TestRevParse (line 10) | func TestRevParse(t *testing.T) { FILE: catfs/vcs/capnp/patch.capnp.go type Change (line 13) | type Change struct method String (line 33) | func (s Change) String() string { method Mask (line 38) | func (s Change) Mask() uint64 { method SetMask (line 42) | func (s Change) SetMask(v uint64) { method Head (line 46) | func (s Change) Head() (capnp2.Node, error) { method HasHead (line 51) | func (s Change) HasHead() bool { method SetHead (line 56) | func (s Change) SetHead(v capnp2.Node) error { method NewHead (line 62) | func (s Change) NewHead() (capnp2.Node, error) { method Next (line 71) | func (s Change) Next() (capnp2.Node, error) { method HasNext (line 76) | func (s Change) HasNext() bool { method SetNext (line 81) | func (s Change) SetNext(v capnp2.Node) error { method NewNext (line 87) | func (s Change) NewNext() (capnp2.Node, error) { method Curr (line 96) | func (s Change) Curr() (capnp2.Node, error) { method HasCurr (line 101) | func (s Change) HasCurr() bool { method SetCurr (line 106) | func (s Change) SetCurr(v capnp2.Node) error { method NewCurr (line 112) | func (s Change) NewCurr() (capnp2.Node, error) { method MovedTo (line 121) | func (s Change) MovedTo() (string, error) { method HasMovedTo (line 126) | func (s Change) HasMovedTo() bool { method MovedToBytes (line 131) | func (s Change) MovedToBytes() ([]byte, error) { method SetMovedTo (line 136) | func (s Change) SetMovedTo(v string) error { method WasPreviouslyAt (line 140) | func (s Change) WasPreviouslyAt() (string, error) { method HasWasPreviouslyAt (line 145) | func (s Change) HasWasPreviouslyAt() bool { method WasPreviouslyAtBytes (line 150) | func (s Change) WasPreviouslyAtBytes() ([]byte, error) { method SetWasPreviouslyAt (line 155) | func (s Change) SetWasPreviouslyAt(v string) error { constant Change_TypeID (line 16) | Change_TypeID = 0x9592300df48789af function NewChange (line 18) | func NewChange(s *capnp.Segment) (Change, error) { function NewRootChange (line 23) | func NewRootChange(s *capnp.Segment) (Change, error) { function ReadRootChange (line 28) | func ReadRootChange(msg *capnp.Message) (Change, error) { type Change_List (line 160) | type Change_List struct method At (line 168) | func (s Change_List) At(i int) Change { return Change{s.List.Struct(i)} } method Set (line 170) | func (s Change_List) Set(i int, v Change) error { return s.List.SetStr... method String (line 172) | func (s Change_List) String() string { function NewChange_List (line 163) | func NewChange_List(s *capnp.Segment, sz int32) (Change_List, error) { type Change_Promise (line 178) | type Change_Promise struct method Struct (line 180) | func (p Change_Promise) Struct() (Change, error) { method Head (line 185) | func (p Change_Promise) Head() capnp2.Node_Promise { method Next (line 189) | func (p Change_Promise) Next() capnp2.Node_Promise { method Curr (line 193) | func (p Change_Promise) Curr() capnp2.Node_Promise { type Patch (line 198) | type Patch struct method String (line 218) | func (s Patch) String() string { method FromIndex (line 223) | func (s Patch) FromIndex() int64 { method SetFromIndex (line 227) | func (s Patch) SetFromIndex(v int64) { method CurrIndex (line 231) | func (s Patch) CurrIndex() int64 { method SetCurrIndex (line 235) | func (s Patch) SetCurrIndex(v int64) { method Changes (line 239) | func (s Patch) Changes() (Change_List, error) { method HasChanges (line 244) | func (s Patch) HasChanges() bool { method SetChanges (line 249) | func (s Patch) SetChanges(v Change_List) error { method NewChanges (line 255) | func (s Patch) NewChanges(n int32) (Change_List, error) { constant Patch_TypeID (line 201) | Patch_TypeID = 0x927c7336e3054805 function NewPatch (line 203) | func NewPatch(s *capnp.Segment) (Patch, error) { function NewRootPatch (line 208) | func NewRootPatch(s *capnp.Segment) (Patch, error) { function ReadRootPatch (line 213) | func ReadRootPatch(msg *capnp.Message) (Patch, error) { type Patch_List (line 265) | type Patch_List struct method At (line 273) | func (s Patch_List) At(i int) Patch { return Patch{s.List.Struct(i)} } method Set (line 275) | func (s Patch_List) Set(i int, v Patch) error { return s.List.SetStruc... method String (line 277) | func (s Patch_List) String() string { function NewPatch_List (line 268) | func NewPatch_List(s *capnp.Segment, sz int32) (Patch_List, error) { type Patch_Promise (line 283) | type Patch_Promise struct method Struct (line 285) | func (p Patch_Promise) Struct() (Patch, error) { type Patches (line 291) | type Patches struct method String (line 311) | func (s Patches) String() string { method Patches (line 316) | func (s Patches) Patches() (Patch_List, error) { method HasPatches (line 321) | func (s Patches) HasPatches() bool { method SetPatches (line 326) | func (s Patches) SetPatches(v Patch_List) error { method NewPatches (line 332) | func (s Patches) NewPatches(n int32) (Patch_List, error) { constant Patches_TypeID (line 294) | Patches_TypeID = 0xc2984f083ea5351d function NewPatches (line 296) | func NewPatches(s *capnp.Segment) (Patches, error) { function NewRootPatches (line 301) | func NewRootPatches(s *capnp.Segment) (Patches, error) { function ReadRootPatches (line 306) | func ReadRootPatches(msg *capnp.Message) (Patches, error) { type Patches_List (line 342) | type Patches_List struct method At (line 350) | func (s Patches_List) At(i int) Patches { return Patches{s.List.Struct... method Set (line 352) | func (s Patches_List) Set(i int, v Patches) error { return s.List.SetS... method String (line 354) | func (s Patches_List) String() string { function NewPatches_List (line 345) | func NewPatches_List(s *capnp.Segment, sz int32) (Patches_List, error) { type Patches_Promise (line 360) | type Patches_Promise struct method Struct (line 362) | func (p Patches_Promise) Struct() (Patches, error) { constant schema_b943b54bf1683782 (line 367) | schema_b943b54bf1683782 = "x\xda\x84\x93\xc1k\x13O\x1c\xc5\xbf\xef;\xbb\... function init (line 404) | func init() { FILE: catfs/vcs/change.go constant ChangeTypeNone (line 20) | ChangeTypeNone = ChangeType(0) constant ChangeTypeAdd (line 22) | ChangeTypeAdd = ChangeType(1 << iota) constant ChangeTypeModify (line 24) | ChangeTypeModify constant ChangeTypeMove (line 27) | ChangeTypeMove constant ChangeTypeRemove (line 29) | ChangeTypeRemove type ChangeType (line 33) | type ChangeType method String (line 36) | func (ct ChangeType) String() string { method IsCompatible (line 64) | func (ct ChangeType) IsCompatible(ot ChangeType) bool { type Change (line 72) | type Change struct method String (line 97) | func (ch *Change) String() string { method Replay (line 252) | func (ch *Change) Replay(lkr *c.Linker) error { method toCapnpChange (line 280) | func (ch *Change) toCapnpChange(seg *capnp.Segment, capCh *capnp_patch... method ToCapnp (line 334) | func (ch *Change) ToCapnp() (*capnp.Message, error) { method fromCapnpChange (line 352) | func (ch *Change) fromCapnpChange(capCh capnp_patch.Change) error { method FromCapnp (line 407) | func (ch *Change) FromCapnp(msg *capnp.Message) error { function replayAddWithUnpacking (line 111) | func replayAddWithUnpacking(lkr *c.Linker, ch *Change) error { function replayAdd (line 146) | func replayAdd(lkr *c.Linker, currNd n.ModNode) error { function replayMove (line 167) | func replayMove(lkr *c.Linker, ch *Change) error { function replayAddMoveMapping (line 215) | func replayAddMoveMapping(lkr *c.Linker, oldPath, newPath string) error { function replayRemove (line 234) | func replayRemove(lkr *c.Linker, ch *Change) error { function CombineChanges (line 418) | func CombineChanges(changes []*Change) *Change { FILE: catfs/vcs/change_test.go function TestChangeMarshalling (line 11) | func TestChangeMarshalling(t *testing.T) { function TestChangeCombine (line 44) | func TestChangeCombine(t *testing.T) { function TestChangeCombineMoveBackAndForth (line 78) | func TestChangeCombineMoveBackAndForth(t *testing.T) { function TestChangeRemoveAndReadd (line 105) | func TestChangeRemoveAndReadd(t *testing.T) { function TestChangeReplay (line 131) | func TestChangeReplay(t *testing.T) { FILE: catfs/vcs/debug.go constant printDebug (line 8) | printDebug = false function debug (line 11) | func debug(args ...interface{}) { function debugf (line 17) | func debugf(spec string, args ...interface{}) { FILE: catfs/vcs/diff.go type DiffPair (line 10) | type DiffPair struct type Diff (line 18) | type Diff struct method handleAdd (line 45) | func (df *Diff) handleAdd(src n.ModNode) error { method handleRemove (line 49) | func (df *Diff) handleRemove(dst n.ModNode) error { method handleMissing (line 59) | func (df *Diff) handleMissing(dst n.ModNode) error { method handleTypeConflict (line 65) | func (df *Diff) handleTypeConflict(src, dst n.ModNode) error { method handleConflictNode (line 70) | func (df *Diff) handleConflictNode(nd n.ModNode) error { method handleMove (line 75) | func (df *Diff) handleMove(src, dst n.ModNode) error { method handleConflict (line 86) | func (df *Diff) handleConflict(src, dst n.ModNode, srcMask, dstMask Ch... method handleMerge (line 97) | func (df *Diff) handleMerge(src, dst n.ModNode, srcMask, dstMask Chang... function MakeDiff (line 112) | func MakeDiff(lkrSrc, lkrDst *c.Linker, headSrc, headDst *n.Commit, cfg ... FILE: catfs/vcs/diff_test.go function setupDiffBasicSrcFile (line 10) | func setupDiffBasicSrcFile(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkDiffBasicSrcFileForward (line 15) | func checkDiffBasicSrcFileForward(t *testing.T, lkrSrc, lkrDst *c.Linker... function checkDiffBasicSrcFileBackward (line 28) | func checkDiffBasicSrcFileBackward(t *testing.T, lkrSrc, lkrDst *c.Linke... function assertDiffIsEmpty (line 43) | func assertDiffIsEmpty(t *testing.T, diff *Diff) { function TestDiff (line 53) | func TestDiff(t *testing.T) { function TestDiffWithSameLinker (line 120) | func TestDiffWithSameLinker(t *testing.T) { FILE: catfs/vcs/history.go type HistoryWalker (line 30) | type HistoryWalker struct method maskFromState (line 51) | func (hw *HistoryWalker) maskFromState(curr, next n.ModNode) ChangeType { method findReferToPath (line 228) | func (hw *HistoryWalker) findReferToPath(prevHeadCommit *n.Commit, pre... method findDirectPrev (line 265) | func (hw *HistoryWalker) findDirectPrev(prevHeadCommit *n.Commit) (n.N... method Next (line 306) | func (hw *HistoryWalker) Next() bool { method State (line 418) | func (hw *HistoryWalker) State() *Change { method Err (line 423) | func (hw *HistoryWalker) Err() error { function NewHistoryWalker (line 42) | func NewHistoryWalker(lkr *c.Linker, cmt *n.Commit, node n.ModNode) *His... function parentDirectoryForCommit (line 98) | func parentDirectoryForCommit(lkr *c.Linker, cmt *n.Commit, curr n.Node)... function findMovePartner (line 141) | func findMovePartner(lkr *c.Linker, head *n.Commit, curr n.Node) (n.Node... function getRealType (line 220) | func getRealType(nd n.Node) n.NodeType { function History (line 431) | func History(lkr *c.Linker, nd n.ModNode, start, stop *n.Commit) ([]*Cha... FILE: catfs/vcs/history_test.go function init (line 15) | func init() { type historySetup (line 19) | type historySetup struct function setupHistoryBasic (line 29) | func setupHistoryBasic(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryBasicHole (line 58) | func setupHistoryBasicHole(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryRemoveImmediately (line 90) | func setupHistoryRemoveImmediately(t *testing.T, lkr *c.Linker) *history... function setupHistoryRemoved (line 115) | func setupHistoryRemoved(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoved (line 152) | func setupHistoryMoved(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoveStaging (line 175) | func setupHistoryMoveStaging(t *testing.T, lkr *c.Linker) *historySetup { function setupMoveInitial (line 203) | func setupMoveInitial(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoveAndModify (line 227) | func setupHistoryMoveAndModify(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoveAndModifyStage (line 252) | func setupHistoryMoveAndModifyStage(t *testing.T, lkr *c.Linker) *histor... function setupHistoryRemoveReadd (line 280) | func setupHistoryRemoveReadd(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryRemoveReaddModify (line 306) | func setupHistoryRemoveReaddModify(t *testing.T, lkr *c.Linker) *history... function setupHistoryRemoveReaddNoModify (line 332) | func setupHistoryRemoveReaddNoModify(t *testing.T, lkr *c.Linker) *histo... function setupHistoryMoveCircle (line 358) | func setupHistoryMoveCircle(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoveSamePlaceLeft (line 385) | func setupHistoryMoveSamePlaceLeft(t *testing.T, lkr *c.Linker) *history... function setupHistoryTypeChange (line 415) | func setupHistoryTypeChange(t *testing.T, lkr *c.Linker) *historySetup { function setupHistoryMoveSamePlaceRight (line 439) | func setupHistoryMoveSamePlaceRight(t *testing.T, lkr *c.Linker) *histor... function setupHistoryMoveAndReaddFromMoved (line 466) | func setupHistoryMoveAndReaddFromMoved(t *testing.T, lkr *c.Linker) *his... function setupHistoryMultipleMovesPerCommit (line 490) | func setupHistoryMultipleMovesPerCommit(t *testing.T, lkr *c.Linker) *hi... function setupHistoryMultipleMovesInStage (line 526) | func setupHistoryMultipleMovesInStage(t *testing.T, lkr *c.Linker) *hist... function setupHistoryMoveAndReaddFromAdded (line 552) | func setupHistoryMoveAndReaddFromAdded(t *testing.T, lkr *c.Linker) *his... function setupMoveDirectoryWithChild (line 580) | func setupMoveDirectoryWithChild(t *testing.T, lkr *c.Linker) *historySe... function setupDirectoryHistory (line 612) | func setupDirectoryHistory(t *testing.T, lkr *c.Linker) *historySetup { function setupGhostHistory (line 644) | func setupGhostHistory(t *testing.T, lkr *c.Linker) *historySetup { function setupEdgeRoot (line 679) | func setupEdgeRoot(t *testing.T, lkr *c.Linker) *historySetup { type setupFunc (line 720) | type setupFunc function TestHistoryWalker (line 723) | func TestHistoryWalker(t *testing.T) { function testHistoryRunner (line 814) | func testHistoryRunner(t *testing.T, lkr *c.Linker, setup *historySetup) { function TestHistoryUtil (line 862) | func TestHistoryUtil(t *testing.T) { function TestHistoryWithNoParent (line 911) | func TestHistoryWithNoParent(t *testing.T) { function TestHistoryMovedDirsWithReloadedLinker (line 928) | func TestHistoryMovedDirsWithReloadedLinker(t *testing.T) { function TestHistoryOfMovedNestedDir (line 962) | func TestHistoryOfMovedNestedDir(t *testing.T) { FILE: catfs/vcs/mapper.go type MapPair (line 38) | type MapPair struct type flags (line 49) | type flags struct type Mapper (line 68) | type Mapper struct method getFlags (line 77) | func (ma *Mapper) getFlags(path string) *flags { method setSrcVisited (line 90) | func (ma *Mapper) setSrcVisited(nd n.Node) { method setSrcHandled (line 94) | func (ma *Mapper) setSrcHandled(nd n.Node) { method setDstHandled (line 98) | func (ma *Mapper) setDstHandled(nd n.Node) { method setSrcComplete (line 102) | func (ma *Mapper) setSrcComplete(nd n.Node) { method setDstComplete (line 106) | func (ma *Mapper) setDstComplete(nd n.Node) { method isSrcVisited (line 110) | func (ma *Mapper) isSrcVisited(nd n.Node) bool { method isSrcHandled (line 114) | func (ma *Mapper) isSrcHandled(nd n.Node) bool { method isDstHandled (line 118) | func (ma *Mapper) isDstHandled(nd n.Node) bool { method isSrcComplete (line 122) | func (ma *Mapper) isSrcComplete(nd n.Node) bool { method isDstComplete (line 126) | func (ma *Mapper) isDstComplete(nd n.Node) bool { method report (line 132) | func (ma *Mapper) report(src, dst n.ModNode, typeMismatch, isRemove, i... method reportByType (line 151) | func (ma *Mapper) reportByType(src, dst n.ModNode) error { method mapFile (line 178) | func (ma *Mapper) mapFile(srcCurr *n.File, dstFilePath string) error { method mapDirectoryContents (line 241) | func (ma *Mapper) mapDirectoryContents(srcCurr *n.Directory, dstPath s... method mapDirectory (line 284) | func (ma *Mapper) mapDirectory(srcCurr *n.Directory, dstPath string, f... method ghostToAlive (line 367) | func (ma *Mapper) ghostToAlive(lkr *c.Linker, head *n.Commit, nd n.Nod... method handleGhostsWithoutAliveNd (line 435) | func (ma *Mapper) handleGhostsWithoutAliveNd(srcNd n.Node) error { method extractGhostDirs (line 456) | func (ma *Mapper) extractGhostDirs() ([]ghostDir, error) { method handleGhosts (line 549) | func (ma *Mapper) handleGhosts() error { method nodeIsHandled (line 596) | func (ma *Mapper) nodeIsHandled(nd n.Node, srcToDst bool) bool { method isComplete (line 604) | func (ma *Mapper) isComplete(lkr *c.Linker, root n.Node, srcToDst bool... method extractLeftovers (line 656) | func (ma *Mapper) extractLeftovers(lkr *c.Linker, root *n.Directory, s... method Map (line 759) | func (ma *Mapper) Map(fn func(pair MapPair) error) error { type ghostDir (line 427) | type ghostDir struct function NewMapper (line 569) | func NewMapper(lkrSrc, lkrDst *c.Linker, srcHead, dstHead *n.Commit, src... FILE: catfs/vcs/mapper_test.go function mapperSetupBasicSame (line 12) | func mapperSetupBasicSame(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapP... function mapperSetupBasicDiff (line 18) | func mapperSetupBasicDiff(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapP... function mapperSetupBasicSrcTypeMismatch (line 30) | func mapperSetupBasicSrcTypeMismatch(t *testing.T, lkrSrc, lkrDst *c.Lin... function mapperSetupBasicDstTypeMismatch (line 45) | func mapperSetupBasicDstTypeMismatch(t *testing.T, lkrSrc, lkrDst *c.Lin... function mapperSetupBasicSrcAddFile (line 59) | func mapperSetupBasicSrcAddFile(t *testing.T, lkrSrc, lkrDst *c.Linker) ... function mapperSetupBasicDstAddFile (line 71) | func mapperSetupBasicDstAddFile(t *testing.T, lkrSrc, lkrDst *c.Linker) ... function mapperSetupBasicSrcAddDir (line 82) | func mapperSetupBasicSrcAddDir(t *testing.T, lkrSrc, lkrDst *c.Linker) [... function mapperSetupBasicDstAddDir (line 94) | func mapperSetupBasicDstAddDir(t *testing.T, lkrSrc, lkrDst *c.Linker) [... function mapperSetupSrcMoveFile (line 99) | func mapperSetupSrcMoveFile(t *testing.T, lkrSrc, lkrDst *c.Linker) []Ma... function mapperSetupDstMoveFile (line 114) | func mapperSetupDstMoveFile(t *testing.T, lkrSrc, lkrDst *c.Linker) []Ma... function mapperMoveNestedDir (line 129) | func mapperMoveNestedDir(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapPa... function mapperSetupDstMoveDirEmpty (line 153) | func mapperSetupDstMoveDirEmpty(t *testing.T, lkrSrc, lkrDst *c.Linker) ... function mapperSetupDstMoveDir (line 170) | func mapperSetupDstMoveDir(t *testing.T, lkrSrc, lkrDst *c.Linker) []Map... function mapperSetupSrcMoveDir (line 189) | func mapperSetupSrcMoveDir(t *testing.T, lkrSrc, lkrDst *c.Linker) []Map... function mapperSetupMoveDirWithChild (line 208) | func mapperSetupMoveDirWithChild(t *testing.T, lkrSrc, lkrDst *c.Linker)... function mapperSetupSrcMoveWithExisting (line 227) | func mapperSetupSrcMoveWithExisting(t *testing.T, lkrSrc, lkrDst *c.Link... function mapperSetupSrcFileMoveToExistingEmptyDir (line 254) | func mapperSetupSrcFileMoveToExistingEmptyDir(t *testing.T, lkrSrc, lkrD... function mapperSetupDstMoveWithExisting (line 274) | func mapperSetupDstMoveWithExisting(t *testing.T, lkrSrc, lkrDst *c.Link... function mapperSetupNested (line 299) | func mapperSetupNested(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapPair { function mapperSetupSrcRemove (line 339) | func mapperSetupSrcRemove(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapP... function mapperSetupDstRemove (line 358) | func mapperSetupDstRemove(t *testing.T, lkrSrc, lkrDst *c.Linker) []MapP... function mapperSetupMoveOnBothSides (line 380) | func mapperSetupMoveOnBothSides(t *testing.T, lkrSrc, lkrDst *c.Linker) ... function TestMapper (line 400) | func TestMapper(t *testing.T) { FILE: catfs/vcs/patch.go type Patch (line 20) | type Patch struct method Len (line 30) | func (p *Patch) Len() int { method Swap (line 34) | func (p *Patch) Swap(i, j int) { method Less (line 38) | func (p *Patch) Less(i, j int) bool { method toCapnpPatch (line 75) | func (p *Patch) toCapnpPatch(seg *capnp.Segment, capPatch capnp_patch.... method ToCapnp (line 107) | func (p *Patch) ToCapnp() (*capnp.Message, error) { method fromCapnpPatch (line 160) | func (p *Patch) fromCapnpPatch(capPatch capnp_patch.Patch) error { method FromCapnp (line 182) | func (p *Patch) FromCapnp(msg *capnp.Message) error { type Patches (line 27) | type Patches method ToCapnp (line 122) | func (ps Patches) ToCapnp() (*capnp.Message, error) { method FromCapnp (line 192) | func (ps *Patches) FromCapnp(msg *capnp.Message) error { function buildPrefixTrie (line 218) | func buildPrefixTrie(prefixes []string) *trie.Node { function hasValidPrefix (line 231) | func hasValidPrefix(root *trie.Node, path string) bool { function filterInvalidMoveGhost (line 254) | func filterInvalidMoveGhost(lkr *c.Linker, child n.Node, combCh *Change,... function MakePatch (line 281) | func MakePatch(lkr *c.Linker, from *n.Commit, prefixes []string) (*Patch... function MakePatches (line 291) | func MakePatches(lkr *c.Linker, from *n.Commit, prefixes []string) (Patc... function MakePatchFromTo (line 334) | func MakePatchFromTo(lkr *c.Linker, from, to *n.Commit, prefixes []strin... function ApplyPatch (line 444) | func ApplyPatch(lkr *c.Linker, p *Patch) error { FILE: catfs/vcs/patch_test.go function TestPatchMarshalling (line 12) | func TestPatchMarshalling(t *testing.T) { function TestPrefixTrie (line 54) | func TestPrefixTrie(t *testing.T) { function TestMakePatch (line 73) | func TestMakePatch(t *testing.T) { function TestMakePatchWithOrderConflict (line 133) | func TestMakePatchWithOrderConflict(t *testing.T) { function TestMakePatchDirMoveAllChildren (line 182) | func TestMakePatchDirMoveAllChildren(t *testing.T) { function TestMakePatchDirMoveCompletely (line 229) | func TestMakePatchDirMoveCompletely(t *testing.T) { function TestSyncPartialTwiceWithMovedFile (line 273) | func TestSyncPartialTwiceWithMovedFile(t *testing.T) { FILE: catfs/vcs/reset.go function findPathAt (line 14) | func findPathAt(lkr *c.Linker, cmt *n.Commit, path string) (string, erro... function clearPath (line 47) | func clearPath(lkr *c.Linker, ndPath string) (*n.Directory, error) { function ResetNode (line 102) | func ResetNode(lkr *c.Linker, cmt *n.Commit, currPath string) (n.Node, e... FILE: catfs/vcs/reset_test.go function TestResetFile (line 14) | func TestResetFile(t *testing.T) { function TestFindPathAt (line 104) | func TestFindPathAt(t *testing.T) { function TestResetMovedFile (line 118) | func TestResetMovedFile(t *testing.T) { FILE: catfs/vcs/resolve.go type executor (line 69) | type executor interface type resolver (line 84) | type resolver struct method resolve (line 125) | func (rv *resolver) resolve() error { method cacheLastCommonMerge (line 159) | func (rv *resolver) cacheLastCommonMerge() error { method hasConflictFile (line 207) | func (rv *resolver) hasConflictFile(dstNd n.ModNode) (bool, error) { method hasConflicts (line 238) | func (rv *resolver) hasConflicts(src, dst n.ModNode) (bool, ChangeType... method decide (line 319) | func (rv *resolver) decide(pair MapPair) error { function newResolver (line 100) | func newResolver(lkrSrc, lkrDst *c.Linker, srcHead, dstHead *n.Commit, e... function isConflictPath (line 202) | func isConflictPath(path string) bool { function pathOrNil (line 311) | func pathOrNil(nd n.Node) string { FILE: catfs/vcs/resolve_test.go type expect (line 11) | type expect struct function setupResolveBasicNoConflict (line 22) | func setupResolveBasicNoConflict(t *testing.T, lkrSrc, lkrDst *c.Linker)... function TestHasConflicts (line 36) | func TestHasConflicts(t *testing.T) { FILE: catfs/vcs/sync.go constant ConflictStragetyMarker (line 16) | ConflictStragetyMarker = iota constant ConflictStragetyIgnore (line 19) | ConflictStragetyIgnore constant ConflictStragetyEmbrace (line 22) | ConflictStragetyEmbrace constant ConflictStragetyUnknown (line 25) | ConflictStragetyUnknown type ConflictStrategy (line 30) | type ConflictStrategy method String (line 32) | func (cs ConflictStrategy) String() string { function ConflictStrategyFromString (line 47) | func ConflictStrategyFromString(spec string) ConflictStrategy { type PinStats (line 61) | type PinStats struct type SyncOptions (line 66) | type SyncOptions struct type syncer (line 84) | type syncer struct method add (line 90) | func (sy *syncer) add(src n.ModNode, srcParent, srcName string) error { method handleAdd (line 196) | func (sy *syncer) handleAdd(src n.ModNode) error { method handleMove (line 205) | func (sy *syncer) handleMove(src, dst n.ModNode) error { method handleMissing (line 223) | func (sy *syncer) handleMissing(dst n.ModNode) error { method handleRemove (line 230) | func (sy *syncer) handleRemove(dst n.ModNode) error { method getConflictStrategy (line 251) | func (sy *syncer) getConflictStrategy(nd n.ModNode) ConflictStrategy { method handleConflict (line 280) | func (sy *syncer) handleConflict(src, dst n.ModNode, srcMask, dstMask ... method handleMerge (line 326) | func (sy *syncer) handleMerge(src, dst n.ModNode, srcMask, dstMask Cha... method handleTypeConflict (line 398) | func (sy *syncer) handleTypeConflict(src, dst n.ModNode) error { method handleConflictNode (line 405) | func (sy *syncer) handleConflictNode(src n.ModNode) error { function isReadOnly (line 177) | func isReadOnly(folders map[string]bool, nodePaths ...string) bool { function Sync (line 416) | func Sync(lkrSrc, lkrDst *c.Linker, cfg *SyncOptions) error { FILE: catfs/vcs/sync_test.go function setupBasicSrcFile (line 13) | func setupBasicSrcFile(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicSrcFile (line 17) | func checkBasicSrcFile(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupBasicDstFile (line 28) | func setupBasicDstFile(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicDstFile (line 32) | func checkBasicDstFile(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupBasicBothNoConflict (line 42) | func setupBasicBothNoConflict(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicBothNoConflict (line 47) | func checkBasicBothNoConflict(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupBasicBothConflict (line 63) | func setupBasicBothConflict(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicBothConflict (line 68) | func checkBasicBothConflict(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupBasicRemove (line 87) | func setupBasicRemove(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicRemove (line 97) | func checkBasicRemove(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupBasicSrcMove (line 105) | func setupBasicSrcMove(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkBasicSrcMove (line 115) | func checkBasicSrcMove(t *testing.T, lkrSrc, lkrDst *c.Linker) { function setupEdgeMoveDirAndModifyChild (line 131) | func setupEdgeMoveDirAndModifyChild(t *testing.T, lkrSrc, lkrDst *c.Link... function setupEdgeEmptyDir (line 142) | func setupEdgeEmptyDir(t *testing.T, lkrSrc, lkrDst *c.Linker) { function checkEdgeEmptyDir (line 148) | func checkEdgeEmptyDir(t *testing.T, lkrSrc, lkrDst *c.Linker) { function TestSync (line 154) | func TestSync(t *testing.T) { function TestSyncMergeMarker (line 213) | func TestSyncMergeMarker(t *testing.T) { function TestSyncConflictMergeMarker (line 252) | func TestSyncConflictMergeMarker(t *testing.T) { function TestSyncTwiceWithMovedFile (line 295) | func TestSyncTwiceWithMovedFile(t *testing.T) { function TestSyncConflictStrategyEmbrace (line 316) | func TestSyncConflictStrategyEmbrace(t *testing.T) { function TestSyncReadOnlyFolders (line 347) | func TestSyncReadOnlyFolders(t *testing.T) { FILE: catfs/vcs/undelete.go function Undelete (line 13) | func Undelete(lkr *c.Linker, root string) error { FILE: client/client.go type Client (line 15) | type Client struct method LocalAddr (line 55) | func (cl *Client) LocalAddr() net.Addr { method RemoteAddr (line 60) | func (cl *Client) RemoteAddr() net.Addr { method Close (line 65) | func (cl *Client) Close() error { function connFromURL (line 22) | func connFromURL(s string) (net.Conn, error) { function Dial (line 32) | func Dial(ctx context.Context, daemonURL string) (*Client, error) { FILE: client/clienttest/daemon.go function StartDaemon (line 20) | func StartDaemon(name, backendName, ipfsPath string) (*server.Server, er... function WithDaemon (line 63) | func WithDaemon(name string, fn func(ctl *client.Client) error) error { function WithDaemonPair (line 95) | func WithDaemonPair(nameA, nameB string, fn func(ctlA, ctlB *client.Clie... FILE: client/fs_cmds.go type StatInfo (line 18) | type StatInfo struct function convertHash (line 37) | func convertHash(hashBytes []byte, err error) (h.Hash, error) { function convertCapStatInfo (line 45) | func convertCapStatInfo(capInfo *capnp.StatInfo) (*StatInfo, error) { method List (line 117) | func (cl *Client) List(root string, maxDepth int) ([]StatInfo, error) { method Stage (line 148) | func (cl *Client) Stage(localPath, repoPath string) error { method StageFromReader (line 162) | func (cl *Client) StageFromReader(repoPath string, r io.Reader) error { method Cat (line 221) | func (cl *Client) Cat(path string, offline bool) (io.ReadCloser, error) { method CatOnClient (line 243) | func (cl *Client) CatOnClient(path string, offline bool, w io.Writer) er... method Tar (line 298) | func (cl *Client) Tar(path string, offline bool) (io.ReadCloser, error) { method Mkdir (line 320) | func (cl *Client) Mkdir(path string, createParents bool) error { method Remove (line 332) | func (cl *Client) Remove(path string) error { method Move (line 342) | func (cl *Client) Move(srcPath, dstPath string) error { method Copy (line 356) | func (cl *Client) Copy(srcPath, dstPath string) error { method Pin (line 370) | func (cl *Client) Pin(path string) error { method Unpin (line 380) | func (cl *Client) Unpin(path string) error { method Repin (line 390) | func (cl *Client) Repin(root string) error { method Stat (line 400) | func (cl *Client) Stat(path string) (*StatInfo, error) { method Touch (line 419) | func (cl *Client) Touch(path string) error { method Exists (line 429) | func (cl *Client) Exists(path string) (bool, error) { method Undelete (line 443) | func (cl *Client) Undelete(path string) error { method DeletedNodes (line 453) | func (cl *Client) DeletedNodes(root string) ([]StatInfo, error) { method IsCached (line 483) | func (cl *Client) IsCached(path string) (bool, error) { method RecodeStream (line 498) | func (cl *Client) RecodeStream(path string) error { FILE: client/fs_test.go function init (line 20) | func init() { function stringify (line 27) | func stringify(err error) string { function withDaemon (line 35) | func withDaemon(t *testing.T, name string, fn func(ctl *client.Client)) { function withDaemonPair (line 45) | func withDaemonPair(t *testing.T, nameA, nameB string, fn func(ctlA, ctl... function TestStageAndCat (line 55) | func TestStageAndCat(t *testing.T) { function TestStageAndCatStream (line 79) | func TestStageAndCatStream(t *testing.T) { function TestMkdir (line 97) | func TestMkdir(t *testing.T) { function TestSyncBasic (line 134) | func TestSyncBasic(t *testing.T) { function pathsFromListing (line 160) | func pathsFromListing(l []client.StatInfo) []string { function TestSyncConflict (line 169) | func TestSyncConflict(t *testing.T) { function TestSyncSeveralTimes (line 221) | func TestSyncSeveralTimes(t *testing.T) { function TestSyncPartial (line 268) | func TestSyncPartial(t *testing.T) { function TestSyncMovedFile (line 362) | func TestSyncMovedFile(t *testing.T) { function TestSyncRemovedFile (line 389) | func TestSyncRemovedFile(t *testing.T) { function TestHints (line 423) | func TestHints(t *testing.T) { FILE: client/net_cmds.go type RemoteFolder (line 17) | type RemoteFolder struct type Remote (line 24) | type Remote struct function capRemoteToRemote (line 33) | func capRemoteToRemote(capRemote capnp.Remote) (*Remote, error) { function remoteToCapRemote (line 84) | func remoteToCapRemote(remote Remote, seg *capnplib.Segment) (*capnp.Rem... method RemoteAddOrUpdate (line 138) | func (cl *Client) RemoteAddOrUpdate(remote Remote) error { method RemoteByName (line 154) | func (cl *Client) RemoteByName(name string) (Remote, error) { method RemoteUpdate (line 178) | func (cl *Client) RemoteUpdate(remote Remote) error { method RemoteRm (line 193) | func (cl *Client) RemoteRm(name string) error { method RemoteClear (line 203) | func (cl *Client) RemoteClear() error { method RemoteLs (line 213) | func (cl *Client) RemoteLs() ([]Remote, error) { method RemoteSave (line 243) | func (cl *Client) RemoteSave(remotes []Remote) error { type LocateResult (line 270) | type LocateResult struct function capLrToLr (line 277) | func capLrToLr(capLr capnp.LocateResult) (*LocateResult, error) { method NetLocate (line 309) | func (cl *Client) NetLocate(who, mask string, timeoutSec float64) (chan ... method RemotePing (line 364) | func (cl *Client) RemotePing(who string) (float64, error) { type Whoami (line 378) | type Whoami struct method Whoami (line 386) | func (cl *Client) Whoami() (*Whoami, error) { method NetConnect (line 422) | func (cl *Client) NetConnect() error { method NetDisconnect (line 430) | func (cl *Client) NetDisconnect() error { type RemoteStatus (line 439) | type RemoteStatus struct function capRemoteStatusToRemoteStatus (line 447) | func capRemoteStatusToRemoteStatus(capStatus capnp.RemoteStatus) (*Remot... method RemoteOnlineList (line 493) | func (cl *Client) RemoteOnlineList() ([]RemoteStatus, error) { method Push (line 524) | func (cl *Client) Push(remoteName string, dryRun bool) error { FILE: client/net_test.go function TestPush (line 13) | func TestPush(t *testing.T) { FILE: client/repo_cmds.go method Quit (line 13) | func (ctl *Client) Quit() error { method Ping (line 23) | func (ctl *Client) Ping() error { type MountOptions (line 38) | type MountOptions struct function mountOptionsToCapnp (line 44) | func mountOptionsToCapnp(opts MountOptions, seg *capnplib.Segment) (*cap... method Mount (line 60) | func (ctl *Client) Mount(mountPath string, opts MountOptions) error { method Unmount (line 79) | func (ctl *Client) Unmount(mountPath string) error { method ConfigGet (line 89) | func (ctl *Client) ConfigGet(key string) (string, error) { method ConfigSet (line 103) | func (ctl *Client) ConfigSet(key, value string) error { type ConfigEntry (line 117) | type ConfigEntry struct function configEntryFromCapnp (line 125) | func configEntryFromCapnp(capEntry capnp.ConfigEntry) (*ConfigEntry, err... method ConfigAll (line 156) | func (ctl *Client) ConfigAll() ([]ConfigEntry, error) { method ConfigDoc (line 186) | func (ctl *Client) ConfigDoc(key string) (ConfigEntry, error) { type VersionInfo (line 210) | type VersionInfo struct method Version (line 218) | func (ctl *Client) Version() (*VersionInfo, error) { method FstabAdd (line 259) | func (ctl *Client) FstabAdd(mountName, mountPath string, opts MountOptio... method FstabRemove (line 282) | func (ctl *Client) FstabRemove(mountName string) error { method FstabApply (line 293) | func (ctl *Client) FstabApply() error { method FstabUnmountAll (line 303) | func (ctl *Client) FstabUnmountAll() error { type FsTabEntry (line 313) | type FsTabEntry struct function capMountToMount (line 322) | func capMountToMount(capEntry capnp.FsTabEntry) (*FsTabEntry, error) { method FsTabList (line 349) | func (ctl *Client) FsTabList() ([]FsTabEntry, error) { type GarbageItem (line 379) | type GarbageItem struct method GarbageCollect (line 386) | func (ctl *Client) GarbageCollect(aggressive bool) ([]*GarbageItem, erro... method Become (line 435) | func (ctl *Client) Become(who string) error { type GatewayUser (line 445) | type GatewayUser struct method GatewayUserAdd (line 456) | func (ctl *Client) GatewayUserAdd(name, password string, folders, rights... method GatewayUserRemove (line 506) | func (ctl *Client) GatewayUserRemove(name string) error { method GatewayUserList (line 516) | func (ctl *Client) GatewayUserList() ([]GatewayUser, error) { method DebugProfilePort (line 553) | func (ctl *Client) DebugProfilePort() (int, error) { type Hint (line 567) | type Hint struct method HintSet (line 580) | func (ctl *Client) HintSet(path string, compressionAlgo, encryptionAlgo ... method HintRemove (line 611) | func (ctl *Client) HintRemove(path string) error { function convertCapHint (line 620) | func convertCapHint(capHint capnp.Hint) (*Hint, error) { method HintList (line 644) | func (ctl *Client) HintList() ([]Hint, error) { FILE: client/vcs_cmds.go method MakeCommit (line 13) | func (ctl *Client) MakeCommit(msg string) error { type Commit (line 23) | type Commit struct function convertCapCommit (line 30) | func convertCapCommit(capEntry *capnp.Commit) (*Commit, error) { method Log (line 71) | func (ctl *Client) Log() ([]Commit, error) { method Tag (line 101) | func (ctl *Client) Tag(rev, name string) error { method Untag (line 115) | func (ctl *Client) Untag(name string) error { method Reset (line 126) | func (ctl *Client) Reset(path, rev string, force bool) error { type Change (line 141) | type Change struct method History (line 155) | func (ctl *Client) History(path string) ([]*Change, error) { type DiffPair (line 232) | type DiffPair struct type Diff (line 238) | type Diff struct method IsEmpty (line 250) | func (df *Diff) IsEmpty() bool { function convertDiffList (line 261) | func convertDiffList(lst capnp.StatInfo_List) ([]StatInfo, error) { function convertDiffPairList (line 277) | func convertDiffPairList(lst capnp.DiffPair_List) ([]DiffPair, error) { function convertCapDiffToDiff (line 310) | func convertCapDiffToDiff(capDiff capnp.Diff) (*Diff, error) { method MakeDiff (line 388) | func (ctl *Client) MakeDiff(local, remote, localRev, remoteRev string, n... method Fetch (line 420) | func (ctl *Client) Fetch(remote string) error { method Sync (line 431) | func (ctl *Client) Sync(remote string, needFetch bool) (*Diff, error) { method CommitInfo (line 451) | func (ctl *Client) CommitInfo(rev string) (bool, *Commit, error) { FILE: cmd/bug.go constant reportURL (line 20) | reportURL = "https://github.com/sahib/brig/issues/new?" function printError (line 24) | func printError(msg string) { function cmdOutput (line 30) | func cmdOutput(path string, args ...string) string { function handleBugReport (line 42) | func handleBugReport(ctx *cli.Context) error { FILE: cmd/debug.go function handleDebugPprofPort (line 19) | func handleDebugPprofPort(ctx *cli.Context, ctl *client.Client) error { function readDebugKey (line 35) | func readDebugKey(ctx *cli.Context) ([]byte, error) { function handleDebugDecodeStream (line 45) | func handleDebugDecodeStream(ctx *cli.Context) error { function handleDebugEncodeStream (line 78) | func handleDebugEncodeStream(ctx *cli.Context) error { function readStreamSized (line 102) | func readStreamSized(ctx *cli.Context) (uint64, error) { function handleDebugTenSource (line 106) | func handleDebugTenSource(ctx *cli.Context) error { function handleDebugTenSink (line 117) | func handleDebugTenSink(ctx *cli.Context) error { function handleDebugFuseMock (line 136) | func handleDebugFuseMock(ctx *cli.Context) error { FILE: cmd/exit_codes.go constant Success (line 5) | Success = iota constant BadArgs (line 8) | BadArgs constant BadPassword (line 11) | BadPassword constant DaemonNotResponding (line 15) | DaemonNotResponding constant UnknownError (line 18) | UnknownError FILE: cmd/fs_handlers.go function handleStage (line 28) | func handleStage(ctx *cli.Context, ctl *client.Client) error { type twins (line 59) | type twins struct type walkOptions (line 64) | type walkOptions struct function walk (line 69) | func walk(root, repoRoot string, depth int, opt walkOptions) (map[string... function makeParentDirIfNeeded (line 155) | func makeParentDirIfNeeded(ctx *cli.Context, ctl *client.Client, path st... function handleStageDirectory (line 171) | func handleStageDirectory(ctx *cli.Context, ctl *client.Client, root, re... function handleCat (line 287) | func handleCat(ctx *cli.Context, ctl *client.Client) error { function handleRm (line 324) | func handleRm(ctx *cli.Context, ctl *client.Client) error { function handleMv (line 337) | func handleMv(ctx *cli.Context, ctl *client.Client) error { function handleCp (line 343) | func handleCp(ctx *cli.Context, ctl *client.Client) error { function colorForSize (line 349) | func colorForSize(size uint64) func(f string, a ...interface{}) string { function userPrefixMap (line 366) | func userPrefixMap(users []string) map[string]string { function formatHint (line 399) | func formatHint(hint client.Hint) string { function handleList (line 403) | func handleList(ctx *cli.Context, ctl *client.Client) error { function handleTree (line 493) | func handleTree(ctx *cli.Context, ctl *client.Client) error { function handleMkdir (line 513) | func handleMkdir(ctx *cli.Context, ctl *client.Client) error { function handleShow (line 524) | func handleShow(ctx *cli.Context, ctl *client.Client) error { function handleShowCommit (line 538) | func handleShowCommit(ctx *cli.Context, ctl *client.Client, cmt *client.... function handleShowFileOrDir (line 586) | func handleShowFileOrDir(ctx *cli.Context, ctl *client.Client, path stri... function handleEdit (line 653) | func handleEdit(ctx *cli.Context, ctl *client.Client) error { function handleTouch (line 690) | func handleTouch(ctx *cli.Context, ctl *client.Client) error { function handleTrashList (line 695) | func handleTrashList(ctx *cli.Context, ctl *client.Client) error { function handleTrashRemove (line 713) | func handleTrashRemove(ctx *cli.Context, ctl *client.Client) error { FILE: cmd/help.go type helpEntry (line 12) | type helpEntry struct function die (line 20) | func die(msg string) { function compressionHintsToBullets (line 26) | func compressionHintsToBullets() string { function encryptionHintsToBullets (line 42) | func encryptionHintsToBullets() string { function injectHelp (line 1697) | func injectHelp(cmd *cli.Command, path string) { function translateHelp (line 1710) | func translateHelp(cmds []cli.Command, prefix []string) { function TranslateHelp (line 1721) | func TranslateHelp(cmds []cli.Command) []cli.Command { function handleOpenHelp (line 1727) | func handleOpenHelp(ctx *cli.Context) error { FILE: cmd/init.go function Init (line 10) | func Init(ctx *cli.Context, ipfsPathOrMultiaddr string, opts repo.InitOp... FILE: cmd/inode_other.go function inodeString (line 8) | func inodeString(path string) (string, error) { FILE: cmd/inode_unix.go function inodeString (line 11) | func inodeString(path string) (string, error) { FILE: cmd/iobench.go function allBenchmarks (line 16) | func allBenchmarks() []string { function printStats (line 28) | func printStats(s bench.Stats) { type benchmarkRun (line 37) | type benchmarkRun struct function handleIOBench (line 42) | func handleIOBench(ctx *cli.Context) error { function drawHeading (line 130) | func drawHeading(heading string) { function drawBench (line 137) | func drawBench(result bench.Result, ref time.Duration, inputSize uint64) { function handleIOBenchList (line 153) | func handleIOBenchList(ctx *cli.Context) error { FILE: cmd/log.go function logVerbose (line 11) | func logVerbose(ctx *cli.Context, format string, args ...interface{}) { FILE: cmd/net_handlers.go function handleOffline (line 18) | func handleOffline(ctx *cli.Context, ctl *client.Client) error { function handleOnline (line 22) | func handleOnline(ctx *cli.Context, ctl *client.Client) error { function handleIsOnline (line 26) | func handleIsOnline(ctx *cli.Context, ctl *client.Client) error { function handleRemoteList (line 41) | func handleRemoteList(ctx *cli.Context, ctl *client.Client) error { function nFoldersToIcon (line 49) | func nFoldersToIcon(nFolders int) string { function handleRemoteListOffline (line 57) | func handleRemoteListOffline(ctx *cli.Context, ctl *client.Client) error { function handleRemoteListOnline (line 111) | func handleRemoteListOnline(ctx *cli.Context, ctl *client.Client) error { constant remoteHelpText (line 210) | remoteHelpText = `# No remotes yet. Uncomment the next lines for an exam... function remoteListToYml (line 216) | func remoteListToYml(remotes []client.Remote) ([]byte, error) { function ymlToRemoteList (line 225) | func ymlToRemoteList(data []byte) ([]client.Remote, error) { function handleRemoteAdd (line 235) | func handleRemoteAdd(ctx *cli.Context, ctl *client.Client) error { function handleRemoteAutoUpdate (line 264) | func handleRemoteAutoUpdate(ctx *cli.Context, ctl *client.Client) error { function handleRemoteAcceptPush (line 297) | func handleRemoteAcceptPush(ctx *cli.Context, ctl *client.Client) error { function handleRemoteConflictStrategy (line 324) | func handleRemoteConflictStrategy(ctx *cli.Context, ctl *client.Client) ... function handleRemoteRemove (line 340) | func handleRemoteRemove(ctx *cli.Context, ctl *client.Client) error { function handleRemoteClear (line 349) | func handleRemoteClear(ctx *cli.Context, ctl *client.Client) error { function handleRemoteEdit (line 353) | func handleRemoteEdit(ctx *cli.Context, ctl *client.Client) error { function findRemoteForName (line 388) | func findRemoteForName(ctl *client.Client, name string) (*client.Remote,... function handleRemoteFolderAdd (line 403) | func handleRemoteFolderAdd(ctx *cli.Context, ctl *client.Client) error { function handleRemoteFolderSet (line 407) | func handleRemoteFolderSet(ctx *cli.Context, ctl *client.Client) error { function handleRemoteFolderAddOrReplace (line 411) | func handleRemoteFolderAddOrReplace(ctx *cli.Context, ctl *client.Client... function handleRemoteFolderRemove (line 468) | func handleRemoteFolderRemove(ctx *cli.Context, ctl *client.Client) error { function handleRemoteFolderClear (line 488) | func handleRemoteFolderClear(ctx *cli.Context, ctl *client.Client) error { function handleRemoteFolderList (line 498) | func handleRemoteFolderList(ctx *cli.Context, ctl *client.Client) error { function handleRemoteFolderListAll (line 525) | func handleRemoteFolderListAll(ctx *cli.Context, ctl *client.Client) err... function handleNetLocate (line 550) | func handleNetLocate(ctx *cli.Context, ctl *client.Client) error { function handleRemotePing (line 606) | func handleRemotePing(ctx *cli.Context, ctl *client.Client) error { function handlePin (line 623) | func handlePin(ctx *cli.Context, ctl *client.Client) error { function handleUnpin (line 628) | func handleUnpin(ctx *cli.Context, ctl *client.Client) error { function handleRepin (line 633) | func handleRepin(ctx *cli.Context, ctl *client.Client) error { function handleWhoami (line 642) | func handleWhoami(ctx *cli.Context, ctl *client.Client) error { function handlePush (line 707) | func handlePush(ctx *cli.Context, ctl *client.Client) error { FILE: cmd/parser.go function init (line 20) | func init() { function formatGroup (line 43) | func formatGroup(category string) string { function memProfile (line 47) | func memProfile() { function startCPUProfile (line 66) | func startCPUProfile() *os.File { function stopCPUProfile (line 85) | func stopCPUProfile(fd *os.File) { function RunCmdline (line 99) | func RunCmdline(args []string) int { FILE: cmd/pwd/pwd-util/pwd-util.go function main (line 11) | func main() { FILE: cmd/pwd/pwd.go constant msgLowEntropy (line 15) | msgLowEntropy = "Please enter a password with at least %g bits entropy." constant msgReEnter (line 16) | msgReEnter = "Well done! Please re-type your password now for safety:" constant msgBadPassword (line 17) | msgBadPassword = "This did not seem to match. Please retype it again." constant msgMaxTriesHit (line 18) | msgMaxTriesHit = "Maximum number of password tries exceeded: %d" function doPromptLine (line 21) | func doPromptLine(rl *readline.Instance, prompt string, hide bool) ([]by... function createStrengthPrompt (line 40) | func createStrengthPrompt(password []rune, prefix string) string { function PromptNewPassword (line 71) | func PromptNewPassword(minEntropy float64) ([]byte, error) { function promptPassword (line 131) | func promptPassword(prompt string) ([]byte, error) { function PromptPassword (line 144) | func PromptPassword() ([]byte, error) { FILE: cmd/pwd/pwd_test.go function TestLongPassword (line 11) | func TestLongPassword(t *testing.T) { function BenchmarkLongPassword (line 17) | func BenchmarkLongPassword(b *testing.B) { FILE: cmd/repo_handlers.go constant brigLogo (line 34) | brigLogo = ` constant initBanner (line 48) | initBanner = ` function createInitialReadme (line 55) | func createInitialReadme(ctl *client.Client, folder string) error { function isMultiAddr (line 102) | func isMultiAddr(ipfsPathOrMultiaddr string) bool { function handleInit (line 107) | func handleInit(ctx *cli.Context) error { function handleInitPost (line 212) | func handleInitPost(ctx *cli.Context, ctl *client.Client, folder string)... function printConfigDocEntry (line 230) | func printConfigDocEntry(entry client.ConfigEntry) { function handleConfigList (line 254) | func handleConfigList(cli *cli.Context, ctl *client.Client) error { function handleConfigGet (line 267) | func handleConfigGet(ctx *cli.Context, ctl *client.Client) error { function handleConfigSet (line 280) | func handleConfigSet(ctx *cli.Context, ctl *client.Client) error { function handleConfigDoc (line 304) | func handleConfigDoc(ctx *cli.Context, ctl *client.Client) error { function handleDaemonPing (line 315) | func handleDaemonPing(ctx *cli.Context, ctl *client.Client) error { function handleDaemonQuit (line 340) | func handleDaemonQuit(ctx *cli.Context, ctl *client.Client) error { function switchToSyslog (line 351) | func switchToSyslog() { function handleDaemonLaunch (line 381) | func handleDaemonLaunch(ctx *cli.Context) error { function handleMount (line 459) | func handleMount(ctx *cli.Context, ctl *client.Client) error { function handleUnmount (line 494) | func handleUnmount(ctx *cli.Context, ctl *client.Client) error { function handleVersion (line 511) | func handleVersion(ctx *cli.Context, ctl *client.Client) error { function handleGc (line 532) | func handleGc(ctx *cli.Context, ctl *client.Client) error { function handleFstabAdd (line 564) | func handleFstabAdd(ctx *cli.Context, ctl *client.Client) error { function handleFstabRemove (line 577) | func handleFstabRemove(ctx *cli.Context, ctl *client.Client) error { function handleFstabApply (line 582) | func handleFstabApply(ctx *cli.Context, ctl *client.Client) error { function handleFstabUnmounetAll (line 590) | func handleFstabUnmounetAll(ctx *cli.Context, ctl *client.Client) error { function handleFstabList (line 594) | func handleFstabList(ctx *cli.Context, ctl *client.Client) error { function handleGatewayStart (line 642) | func handleGatewayStart(ctx *cli.Context, ctl *client.Client) error { function handleGatewayStatus (line 668) | func handleGatewayStatus(ctx *cli.Context, ctl *client.Client) error { function handleGatewayStop (line 729) | func handleGatewayStop(ctx *cli.Context, ctl *client.Client) error { function handleGatewayURL (line 748) | func handleGatewayURL(ctx *cli.Context, ctl *client.Client) error { function handleGatewayUserAdd (line 772) | func handleGatewayUserAdd(ctx *cli.Context, ctl *client.Client) error { function handleGatewayUserRemove (line 829) | func handleGatewayUserRemove(ctx *cli.Context, ctl *client.Client) error { function handleGatewayUserList (line 839) | func handleGatewayUserList(ctx *cli.Context, ctl *client.Client) error { function readPassword (line 884) | func readPassword(ctx *cli.Context, isNew bool) ([]byte, error) { function handleRepoPack (line 918) | func handleRepoPack(ctx *cli.Context) error { function handleRepoUnpack (line 954) | func handleRepoUnpack(ctx *cli.Context) error { function optionalStringParamAsPtr (line 991) | func optionalStringParamAsPtr(ctx *cli.Context, name string) *string { function handleRepoHintsSet (line 999) | func handleRepoHintsSet(ctx *cli.Context, ctl *client.Client) error { function handleRepoHintsList (line 1030) | func handleRepoHintsList(ctx *cli.Context, ctl *client.Client) error { function handleRepoHintsRemove (line 1060) | func handleRepoHintsRemove(ctx *cli.Context, ctl *client.Client) error { function handleRepoHintsRecode (line 1064) | func handleRepoHintsRecode(ctx *cli.Context, ctl *client.Client) error { FILE: cmd/suggest.go type suggestion (line 17) | type suggestion struct function levenshteinRatio (line 22) | func levenshteinRatio(s, t string) float64 { function findLastGoodCommands (line 32) | func findLastGoodCommands(ctx *cli.Context) ([]string, []cli.Command) { function findSimilarCommands (line 64) | func findSimilarCommands(cmdName string, cmds []cli.Command) []suggestion { function findCurrentCommand (line 106) | func findCurrentCommand(ctx *cli.Context) *cli.Command { function completeLocalPath (line 128) | func completeLocalPath(ctx *cli.Context) { function completeBrigPath (line 139) | func completeBrigPath(allowFiles, allowDirs bool) func(ctx *cli.Context) { function completeArgsUsage (line 173) | func completeArgsUsage(ctx *cli.Context) { function completeLocalFile (line 189) | func completeLocalFile(ctx *cli.Context) { function completeSubcommands (line 224) | func completeSubcommands(ctx *cli.Context) { function commandNotFound (line 232) | func commandNotFound(ctx *cli.Context, cmdName string) { FILE: cmd/tabwriter/example_test.go function ExampleWriter_Init (line 13) | func ExampleWriter_Init() { function Example_elastic (line 40) | func Example_elastic() { function Example_trailingTab (line 57) | func Example_trailingTab() { FILE: cmd/tabwriter/tabwriter.go type cell (line 28) | type cell struct type Writer (line 92) | type Writer struct method addLine (line 110) | func (b *Writer) addLine() { b.lines = append(b.lines, []cell{}) } method reset (line 113) | func (b *Writer) reset() { method Init (line 187) | func (b *Writer) Init(output io.Writer, minwidth, tabwidth, padding in... method dump (line 210) | func (b *Writer) dump() { method write0 (line 229) | func (b *Writer) write0(buf []byte) { method writeN (line 239) | func (b *Writer) writeN(src []byte, n int) { method writePadding (line 252) | func (b *Writer) writePadding(textw, cellw int, useTabs bool) { method writeLines (line 274) | func (b *Writer) writeLines(pos0 int, line0, line1 int) (pos int) { method format (line 330) | func (b *Writer) format(pos0 int, line0, line1 int) (pos int) { method append (line 389) | func (b *Writer) append(text []byte) { method updateWidth (line 395) | func (b *Writer) updateWidth() { method startEscape (line 413) | func (b *Writer) startEscape(ch byte) { method endEscape (line 431) | func (b *Writer) endEscape() { method terminateCell (line 450) | func (b *Writer) terminateCell(htab bool) int { method Flush (line 472) | func (b *Writer) Flush() error { method flush (line 476) | func (b *Writer) flush() (err error) { method Write (line 500) | func (b *Writer) Write(buf []byte) (n int, err error) { constant FilterHTML (line 150) | FilterHTML uint = 1 << iota constant StripEscape (line 154) | StripEscape constant AlignRight (line 158) | AlignRight constant DiscardEmptyColumns (line 162) | DiscardEmptyColumns constant TabIndent (line 166) | TabIndent constant Debug (line 170) | Debug type osError (line 225) | type osError struct constant Escape (line 407) | Escape = '\xff' constant ColorStart (line 410) | ColorStart = '\x1B' function handlePanic (line 458) | func handlePanic(err *error, op string) { function NewWriter (line 584) | func NewWriter(output io.Writer, minwidth, tabwidth, padding int, padcha... FILE: cmd/tabwriter/tabwriter_test.go type buffer (line 13) | type buffer struct method init (line 17) | func (b *buffer) init(n int) { b.a = make([]byte, 0, n) } method clear (line 19) | func (b *buffer) clear() { b.a = b.a[0:0] } method Write (line 21) | func (b *buffer) Write(buf []byte) (written int, err error) { method String (line 35) | func (b *buffer) String() string { return string(b.a) } function write (line 37) | func write(t *testing.T, testname string, w *Writer, src string) { function verify (line 47) | func verify(t *testing.T, testname string, w *Writer, b *buffer, src, ex... function check (line 59) | func check(t *testing.T, testname string, minwidth, tabwidth, padding in... function Test (line 611) | func Test(t *testing.T) { type panicWriter (line 617) | type panicWriter struct method Write (line 619) | func (panicWriter) Write([]byte) (int, error) { function wantPanicString (line 623) | func wantPanicString(t *testing.T, want string) { function TestPanicDuringFlush (line 635) | func TestPanicDuringFlush(t *testing.T) { function TestPanicDuringWrite (line 645) | func TestPanicDuringWrite(t *testing.T) { FILE: cmd/tree.go type treeNode (line 20) | type treeNode struct method Insert (line 37) | func (n *treeNode) Insert(entry client.StatInfo) { method Len (line 84) | func (n *treeNode) Len() int { method Swap (line 88) | func (n *treeNode) Swap(i, j int) { method Less (line 96) | func (n *treeNode) Less(i, j int) bool { method Print (line 120) | func (n *treeNode) Print(cfg *treeCfg) { type treeCfg (line 30) | type treeCfg struct function showTree (line 182) | func showTree(entries []client.StatInfo, cfg *treeCfg) { FILE: cmd/util.go type ExitCode (line 37) | type ExitCode struct method Error (line 42) | func (err ExitCode) Error() string { function mustAbsPath (line 46) | func mustAbsPath(path string) string { function yesify (line 56) | func yesify(val bool) string { function checkmarkify (line 64) | func checkmarkify(val bool) string { function guessRepoFolder (line 74) | func guessRepoFolder(ctx *cli.Context) (string, error) { function openConfig (line 99) | func openConfig(folder string) (*config.Config, error) { function guessDaemonURL (line 109) | func guessDaemonURL(ctx *cli.Context) (string, error) { function guessFreeDaemonURL (line 133) | func guessFreeDaemonURL(ctx *cli.Context, owner string) (string, error) { function prefixSlash (line 165) | func prefixSlash(s string) string { type cmdHandlerWithClient (line 173) | type cmdHandlerWithClient function getExecutablePath (line 175) | func getExecutablePath() (string, error) { function startDaemon (line 186) | func startDaemon(ctx *cli.Context, repoPath, daemonURL string) (*client.... function isDaemonRunning (line 248) | func isDaemonRunning(ctx *cli.Context) (bool, error) { function withDaemon (line 266) | func withDaemon(handler cmdHandlerWithClient, startNew bool) cli.ActionF... type checkFunc (line 313) | type checkFunc function withArgCheck (line 315) | func withArgCheck(checker checkFunc, handler cli.ActionFunc) cli.ActionF... function prettyPrintError (line 325) | func prettyPrintError(err error) string { function needAtLeast (line 329) | func needAtLeast(min int) checkFunc { function isNonEmptyDir (line 349) | func isNonEmptyDir(dir string) (bool, error) { function tempFileWithSuffix (line 374) | func tempFileWithSuffix(dir, prefix, suffix string) (f *os.File, err err... function editToPath (line 393) | func editToPath(data []byte, suffix string) (string, error) { function edit (line 445) | func edit(data []byte, suffix string) ([]byte, error) { function parseDuration (line 470) | func parseDuration(s string) (float64, error) { function readFormatTemplate (line 484) | func readFormatTemplate(ctx *cli.Context) (*template.Template, error) { function pinStateToSymbol (line 499) | func pinStateToSymbol(isPinned, isExplicit bool) string { function yesOrNo (line 512) | func yesOrNo(v bool) string { type logWriter (line 520) | type logWriter struct method Write (line 522) | func (lw *logWriter) Write(buf []byte) (int, error) { FILE: cmd/vcs_handlers.go function handleReset (line 19) | func handleReset(ctx *cli.Context, ctl *client.Client) error { function commitName (line 35) | func commitName(cmt *client.Commit) string { function handleHistory (line 47) | func handleHistory(ctx *cli.Context, ctl *client.Client) error { function makePathAbbrev (line 141) | func makePathAbbrev(srcNd, dstNd client.StatInfo) string { function suffixIfDir (line 173) | func suffixIfDir(nd *treeNode) string { constant diffTypeNone (line 182) | diffTypeNone = iota constant diffTypeAdded (line 183) | diffTypeAdded constant diffTypeRemoved (line 184) | diffTypeRemoved constant diffTypeMissing (line 185) | diffTypeMissing constant diffTypeMoved (line 186) | diffTypeMoved constant diffTypeIgnored (line 187) | diffTypeIgnored constant diffTypeConflict (line 188) | diffTypeConflict constant diffTypeMerged (line 189) | diffTypeMerged type diffEntry (line 192) | type diffEntry struct function printDiffTreeLineFormatter (line 198) | func printDiffTreeLineFormatter(types map[string]diffEntry, n *treeNode)... function printDiffTree (line 253) | func printDiffTree(diff *client.Diff, printMissing bool) { function isEmptyDiff (line 320) | func isEmptyDiff(diff *client.Diff) bool { function printDiff (line 331) | func printDiff(diff *client.Diff, printMissing bool) { function handleDiff (line 426) | func handleDiff(ctx *cli.Context, ctl *client.Client) error { function handleFetch (line 489) | func handleFetch(ctx *cli.Context, ctl *client.Client) error { function handleSync (line 494) | func handleSync(ctx *cli.Context, ctl *client.Client) error { function handleSyncSingle (line 520) | func handleSyncSingle(ctx *cli.Context, ctl *client.Client, remoteName s... function handleStatus (line 544) | func handleStatus(ctx *cli.Context, ctl *client.Client) error { function handleBecome (line 565) | func handleBecome(ctx *cli.Context, ctl *client.Client) error { function handleCommit (line 602) | func handleCommit(ctx *cli.Context, ctl *client.Client) error { function handleTag (line 622) | func handleTag(ctx *cli.Context, ctl *client.Client) error { function handleLog (line 651) | func handleLog(ctx *cli.Context, ctl *client.Client) error { FILE: defaults/defaults.go constant CurrentVersion (line 11) | CurrentVersion = 0 function OpenMigratedConfig (line 19) | func OpenMigratedConfig(path string) (*config.Config, error) { FILE: defaults/defaults_v0.go function DaemonDefaultURL (line 12) | func DaemonDefaultURL() string { function urlValidator (line 28) | func urlValidator(val interface{}) error { FILE: docs/conf.py function get_version_from_git (line 66) | def get_version_from_git(): function setup (line 286) | def setup(app): FILE: events/backend/backend.go type Message (line 11) | type Message interface type Subscription (line 20) | type Subscription interface type Backend (line 29) | type Backend interface FILE: events/capnp/events_api.capnp.go type Event (line 11) | type Event struct method String (line 31) | func (s Event) String() string { method Type (line 36) | func (s Event) Type() (string, error) { method HasType (line 41) | func (s Event) HasType() bool { method TypeBytes (line 46) | func (s Event) TypeBytes() ([]byte, error) { method SetType (line 51) | func (s Event) SetType(v string) error { constant Event_TypeID (line 14) | Event_TypeID = 0x9c032508b61d1d09 function NewEvent (line 16) | func NewEvent(s *capnp.Segment) (Event, error) { function NewRootEvent (line 21) | func NewRootEvent(s *capnp.Segment) (Event, error) { function ReadRootEvent (line 26) | func ReadRootEvent(msg *capnp.Message) (Event, error) { type Event_List (line 56) | type Event_List struct method At (line 64) | func (s Event_List) At(i int) Event { return Event{s.List.Struct(i)} } method Set (line 66) | func (s Event_List) Set(i int, v Event) error { return s.List.SetStruc... method String (line 68) | func (s Event_List) String() string { function NewEvent_List (line 59) | func NewEvent_List(s *capnp.Segment, sz int32) (Event_List, error) { type Event_Promise (line 74) | type Event_Promise struct method Struct (line 76) | func (p Event_Promise) Struct() (Event, error) { constant schema_fc8938b535319bfe (line 81) | schema_fc8938b535319bfe = "x\xda\x12\xd0s`\x12d\x8dg`\x08dae\xfb" + function init (line 93) | func init() { FILE: events/event.go constant UnknownEvent (line 12) | UnknownEvent = EventType(1 << iota) constant FsEvent (line 14) | FsEvent constant NetEvent (line 16) | NetEvent type EventType (line 20) | type EventType method String (line 23) | func (ev EventType) String() string { function EventFromString (line 36) | func EventFromString(ev string) (EventType, error) { type Event (line 48) | type Event struct method encode (line 53) | func (msg *Event) encode() ([]byte, error) { function decodeMessage (line 71) | func decodeMessage(data []byte) (*Event, error) { function dedupeEvents (line 99) | func dedupeEvents(evs []Event) []Event { FILE: events/listener.go constant brigEventTopicPrefix (line 17) | brigEventTopicPrefix = "brig/events/" constant maxBurstSize (line 18) | maxBurstSize = 100 type Listener (line 24) | type Listener struct method Close (line 63) | func (lst *Listener) Close() error { method RegisterEventHandler (line 86) | func (lst *Listener) RegisterEventHandler(ev EventType, notifyOnOwn bo... method eventRecvLoop (line 153) | func (lst *Listener) eventRecvLoop() { method eventSendLoop (line 170) | func (lst *Listener) eventSendLoop() { method publishToSelf (line 190) | func (lst *Listener) publishToSelf(ev Event) { method PublishEvent (line 203) | func (lst *Listener) PublishEvent(ev Event) error { method SetupListeners (line 234) | func (lst *Listener) SetupListeners(ctx context.Context, addrs []strin... method listenSingle (line 264) | func (lst *Listener) listenSingle(ctx context.Context, topic string) e... type callback (line 37) | type callback struct function NewListener (line 46) | func NewListener(cfg *config.Config, bk backend.Backend, ownAddr string)... function eventLoop (line 100) | func eventLoop(evCh chan Event, interval time.Duration, rps float64, fn ... FILE: events/listener_test.go function withEventListener (line 15) | func withEventListener(t *testing.T, ownAddr string, fn func(lst *Listen... function withEventListenerPair (line 31) | func withEventListenerPair(t *testing.T, addrA, addrB string, fn func(ls... function TestBasicRun (line 39) | func TestBasicRun(t *testing.T) { FILE: events/mock/mock.go function init (line 13) | func init() { type EventsBackend (line 19) | type EventsBackend struct method Subscribe (line 61) | func (mb *EventsBackend) Subscribe(ctx context.Context, topic string) ... method PublishEvent (line 74) | func (mb *EventsBackend) PublishEvent(topic string, data []byte) error { function NewEventsBackend (line 24) | func NewEventsBackend(ownAddr string) *EventsBackend { type mockMessage (line 30) | type mockMessage struct method Data (line 35) | func (mm mockMessage) Data() []byte { method Source (line 39) | func (mm mockMessage) Source() string { type mockSubscription (line 43) | type mockSubscription struct method Next (line 47) | func (ms *mockSubscription) Next(ctx context.Context) (eventsBackend.M... method Close (line 56) | func (ms *mockSubscription) Close() error { FILE: fuse/directory.go type Directory (line 18) | type Directory struct method Attr (line 24) | func (dir *Directory) Attr(ctx context.Context, attr *fuse.Attr) error { method Lookup (line 45) | func (dir *Directory) Lookup(ctx context.Context, name string) (fs.Nod... method Mkdir (line 75) | func (dir *Directory) Mkdir(ctx context.Context, req *fuse.MkdirReques... method Create (line 95) | func (dir *Directory) Create(ctx context.Context, req *fuse.CreateRequ... method Remove (line 128) | func (dir *Directory) Remove(ctx context.Context, req *fuse.RemoveRequ... method ReadDirAll (line 142) | func (dir *Directory) ReadDirAll(ctx context.Context) ([]fuse.Dirent, ... method Rename (line 211) | func (dir *Directory) Rename(ctx context.Context, req *fuse.RenameRequ... method Getxattr (line 231) | func (dir *Directory) Getxattr(ctx context.Context, req *fuse.Getxattr... method Setxattr (line 246) | func (dir *Directory) Setxattr(ctx context.Context, req *fuse.Setxattr... method Listxattr (line 253) | func (dir *Directory) Listxattr(ctx context.Context, req *fuse.Listxat... FILE: fuse/file.go type File (line 27) | type File struct method Attr (line 35) | func (fi *File) Attr(ctx context.Context, attr *fuse.Attr) error { method Open (line 80) | func (fi *File) Open(ctx context.Context, req *fuse.OpenRequest, resp ... method Setattr (line 117) | func (fi *File) Setattr(ctx context.Context, req *fuse.SetattrRequest,... method Fsync (line 140) | func (fi *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) err... method Getxattr (line 148) | func (fi *File) Getxattr(ctx context.Context, req *fuse.GetxattrReques... method Setxattr (line 163) | func (fi *File) Setxattr(ctx context.Context, req *fuse.SetxattrReques... method Listxattr (line 170) | func (fi *File) Listxattr(ctx context.Context, req *fuse.ListxattrRequ... method Readlink (line 181) | func (fi *File) Readlink(ctx context.Context, req *fuse.ReadlinkReques... FILE: fuse/fs.go constant enableDebugLogs (line 11) | enableDebugLogs = false function debugLog (line 14) | func debugLog(format string, args ...interface{}) { type Filesystem (line 21) | type Filesystem struct method Root (line 29) | func (fs *Filesystem) Root() (fs.Node, error) { FILE: fuse/fstab.go function FsTabAdd (line 18) | func FsTabAdd(cfg *config.Config, name, path string, opts MountOptions) ... function FsTabRemove (line 52) | func FsTabRemove(cfg *config.Config, name string) error { function FsTabUnmountAll (line 61) | func FsTabUnmountAll(cfg *config.Config, mounts *MountTable) error { function FsTabApply (line 84) | func FsTabApply(cfg *config.Config, mounts *MountTable) error { type FsTabEntry (line 138) | type FsTabEntry struct function FsTabList (line 148) | func FsTabList(cfg *config.Config, mounts *MountTable) ([]FsTabEntry, er... FILE: fuse/fuse_test.go function init (line 44) | func init() { function TestMain (line 48) | func TestMain(m *testing.M) { type fuseCatFSHelp (line 55) | type fuseCatFSHelp struct method ServeHTTP (line 59) | func (fch *fuseCatFSHelp) ServeHTTP(w http.ResponseWriter, req *http.R... method makeCatfsAndFuseMount (line 134) | func (fch *fuseCatFSHelp) makeCatfsAndFuseMount(ctx context.Context, r... method makeFuseReMount (line 151) | func (fch *fuseCatFSHelp) makeFuseReMount(ctx context.Context, req mou... method unmountFuseAndCloseDummyCatFS (line 161) | func (fch *fuseCatFSHelp) unmountFuseAndCloseDummyCatFS(ctx context.Co... method catfsStage (line 210) | func (fch *fuseCatFSHelp) catfsStage(ctx context.Context, req catfsPay... method catfsGetData (line 216) | func (fch *fuseCatFSHelp) catfsGetData(ctx context.Context, req catfsP... function makeDummyCatFS (line 76) | func makeDummyCatFS(dbPath string) (catfsFuseInfo, error) { type nothing (line 116) | type nothing struct type catfsFuseInfo (line 118) | type catfsFuseInfo struct type mountingRequest (line 128) | type mountingRequest struct function makeFuseMount (line 181) | func makeFuseMount(cfs *catfs.FS, mntPath string, opts MountOptions) (*M... type catfsPayload (line 205) | type catfsPayload struct type mountInfo (line 239) | type mountInfo struct function callUnMount (line 245) | func callUnMount(ctx context.Context, t testing.TB, control *spawntest.C... function withMount (line 252) | func withMount(t testing.TB, opts MountOptions, f func(ctx context.Conte... function checkFuseFileMatchToCatFS (line 283) | func checkFuseFileMatchToCatFS(ctx context.Context, t *testing.T, contro... function checkCatfsFileContent (line 292) | func checkCatfsFileContent(ctx context.Context, t *testing.T, control *s... function TestCatfsStage (line 309) | func TestCatfsStage(t *testing.T) { function TestCatfsGetData (line 318) | func TestCatfsGetData(t *testing.T) { function TestRead (line 342) | func TestRead(t *testing.T) { function TestFileXattr (line 361) | func TestFileXattr(t *testing.T) { function TestWrite (line 410) | func TestWrite(t *testing.T) { function TestTouchWrite (line 431) | func TestTouchWrite(t *testing.T) { function TestTouchWriteSubdir (line 457) | func TestTouchWriteSubdir(t *testing.T) { function TestReadOnlyFs (line 475) | func TestReadOnlyFs(t *testing.T) { function TestWithRoot (line 503) | func TestWithRoot(t *testing.T) { function stageAndRead (line 568) | func stageAndRead(ctx context.Context, b *testing.B, control *spawntest.... function BenchmarkRead (line 584) | func BenchmarkRead(b *testing.B) { function writeDataNtimes (line 598) | func writeDataNtimes(b *testing.B, data []byte, ntimes int) { function BenchmarkWrite (line 637) | func BenchmarkWrite(b *testing.B) { FILE: fuse/fusetest/client.go type Client (line 12) | type Client struct method QuitServer (line 37) | func (ctl *Client) QuitServer() error { function Dial (line 17) | func Dial(url string) (*Client, error) { FILE: fuse/fusetest/helper.go function LaunchAsProcess (line 19) | func LaunchAsProcess(opts Options) (*os.Process, error) { FILE: fuse/fusetest/server.go function makeFS (line 27) | func makeFS(dbPath string, backend catfs.FsBackend) (*catfs.FS, error) { function mount (line 65) | func mount(cfs *catfs.FS, mountPath string, opts Options) (*fuse.Mount, ... function serveHTTPServer (line 77) | func serveHTTPServer(opts Options) error { type Options (line 126) | type Options struct function Launch (line 148) | func Launch(opts Options) error { FILE: fuse/handle.go type Handle (line 20) | type Handle struct method Read (line 28) | func (hd *Handle) Read(ctx context.Context, req *fuse.ReadRequest, res... method Write (line 54) | func (hd *Handle) Write(ctx context.Context, req *fuse.WriteRequest, r... method writeAt (line 86) | func (hd *Handle) writeAt(buf []byte, off int64) (n int, err error) { method Flush (line 95) | func (hd *Handle) Flush(ctx context.Context, req *fuse.FlushRequest) e... method flush (line 100) | func (hd *Handle) flush() error { method Release (line 122) | func (hd *Handle) Release(ctx context.Context, req *fuse.ReleaseReques... method truncate (line 140) | func (hd *Handle) truncate(size uint64) error { method Poll (line 149) | func (hd *Handle) Poll(ctx context.Context, req *fuse.PollRequest, res... FILE: fuse/mount.go type Notifier (line 25) | type Notifier interface type MountOptions (line 32) | type MountOptions struct type Mount (line 49) | type Mount struct method EqualOptions (line 150) | func (m *Mount) EqualOptions(opts MountOptions) bool { method Close (line 160) | func (m *Mount) Close() error { function NewMount (line 64) | func NewMount(cfs *catfs.FS, mountpoint string, notifier Notifier, opts ... function lazyUnmount (line 134) | func lazyUnmount(dir string) error { type MountTable (line 227) | type MountTable struct method AddMount (line 244) | func (t *MountTable) AddMount(path string, opts MountOptions) (*Mount,... method addMount (line 265) | func (t *MountTable) addMount(path string, opts MountOptions) (*Mount,... method Unmount (line 284) | func (t *MountTable) Unmount(path string) error { method unmount (line 291) | func (t *MountTable) unmount(path string) error { method Close (line 302) | func (t *MountTable) Close() error { function NewMountTable (line 235) | func NewMountTable(fs *catfs.FS, notifier Notifier) *MountTable { function checkMountPath (line 251) | func checkMountPath(path string) error { FILE: fuse/stub.go type Notifier (line 18) | type Notifier interface type MountOptions (line 24) | type MountOptions struct type Mount (line 29) | type Mount struct method EqualOptions (line 37) | func (m *Mount) EqualOptions(opts MountOptions) bool { method Close (line 41) | func (m *Mount) Close() error { function NewMount (line 33) | func NewMount(cfs *catfs.FS, mountpoint string, opts MountOptions) (*Mou... type MountTable (line 45) | type MountTable struct method AddMount (line 51) | func (t *MountTable) AddMount(path string, opts MountOptions) (*Mount,... method Unmount (line 55) | func (t *MountTable) Unmount(path string) error { method Close (line 59) | func (t *MountTable) Close() error { function NewMountTable (line 47) | func NewMountTable(fs *catfs.FS, notifier Notifier) *MountTable { type FsTabEntry (line 63) | type FsTabEntry struct function FsTabAdd (line 71) | func FsTabAdd(cfg *config.Config, name, path string, opts MountOptions) ... function FsTabRemove (line 75) | func FsTabRemove(cfg *config.Config, name string) error { function FsTabUnmountAll (line 79) | func FsTabUnmountAll(cfg *config.Config, mounts *MountTable) error { function FsTabApply (line 83) | func FsTabApply(cfg *config.Config, mounts *MountTable) error { function FsTabList (line 87) | func FsTabList(cfg *config.Config, mounts *MountTable) ([]FsTabEntry, er... FILE: fuse/util.go function errorize (line 16) | func errorize(name string, err error) error { function logPanic (line 32) | func logPanic(name string) { type xattrHandler (line 38) | type xattrHandler struct function listXattr (line 105) | func listXattr() []byte { function getXattr (line 115) | func getXattr(cfs *catfs.FS, name, path string) ([]byte, error) { function setXattr (line 129) | func setXattr(cfs *catfs.FS, name, path string, val []byte) error { function notifyChange (line 142) | func notifyChange(m *Mount, d time.Duration) { FILE: gateway/db/capnp/user.capnp.go type User (line 11) | type User struct method String (line 31) | func (s User) String() string { method Name (line 36) | func (s User) Name() (string, error) { method HasName (line 41) | func (s User) HasName() bool { method NameBytes (line 46) | func (s User) NameBytes() ([]byte, error) { method SetName (line 51) | func (s User) SetName(v string) error { method PasswordHash (line 55) | func (s User) PasswordHash() (string, error) { method HasPasswordHash (line 60) | func (s User) HasPasswordHash() bool { method PasswordHashBytes (line 65) | func (s User) PasswordHashBytes() ([]byte, error) { method SetPasswordHash (line 70) | func (s User) SetPasswordHash(v string) error { method Salt (line 74) | func (s User) Salt() (string, error) { method HasSalt (line 79) | func (s User) HasSalt() bool { method SaltBytes (line 84) | func (s User) SaltBytes() ([]byte, error) { method SetSalt (line 89) | func (s User) SetSalt(v string) error { method Folders (line 93) | func (s User) Folders() (capnp.TextList, error) { method HasFolders (line 98) | func (s User) HasFolders() bool { method SetFolders (line 103) | func (s User) SetFolders(v capnp.TextList) error { method NewFolders (line 109) | func (s User) NewFolders(n int32) (capnp.TextList, error) { method Rights (line 118) | func (s User) Rights() (capnp.TextList, error) { method HasRights (line 123) | func (s User) HasRights() bool { method SetRights (line 128) | func (s User) SetRights(v capnp.TextList) error { method NewRights (line 134) | func (s User) NewRights(n int32) (capnp.TextList, error) { constant User_TypeID (line 14) | User_TypeID = 0x861de4463c5a4a22 function NewUser (line 16) | func NewUser(s *capnp.Segment) (User, error) { function NewRootUser (line 21) | func NewRootUser(s *capnp.Segment) (User, error) { function ReadRootUser (line 26) | func ReadRootUser(msg *capnp.Message) (User, error) { type User_List (line 144) | type User_List struct method At (line 152) | func (s User_List) At(i int) User { return User{s.List.Struct(i)} } method Set (line 154) | func (s User_List) Set(i int, v User) error { return s.List.SetStruct(... method String (line 156) | func (s User_List) String() string { function NewUser_List (line 147) | func NewUser_List(s *capnp.Segment, sz int32) (User_List, error) { type User_Promise (line 162) | type User_Promise struct method Struct (line 164) | func (p User_Promise) Struct() (User, error) { constant schema_a0b1c18bd0f965c4 (line 169) | schema_a0b1c18bd0f965c4 = "x\xda\\\xca1J\x03A\x18\xc5\xf1\xf7ff\x15$" + function init (line 187) | func init() { FILE: gateway/db/db.go constant RightDownload (line 21) | RightDownload = "fs.download" constant RightFsView (line 24) | RightFsView = "fs.view" constant RightFsEdit (line 27) | RightFsEdit = "fs.edit" constant RightRemotesView (line 29) | RightRemotesView = "remotes.view" constant RightRemotesEdit (line 31) | RightRemotesEdit = "remotes.edit" type UserDatabase (line 59) | type UserDatabase struct method Close (line 102) | func (ub *UserDatabase) Close() error { method Add (line 297) | func (ub *UserDatabase) Add(name, password string, folders []string, r... method Get (line 340) | func (ub *UserDatabase) Get(name string) (User, error) { method Remove (line 364) | func (ub *UserDatabase) Remove(name string) error { method List (line 379) | func (ub *UserDatabase) List() ([]User, error) { function NewUserDatabase (line 68) | func NewUserDatabase(path string) (*UserDatabase, error) { function unmarshalUser (line 117) | func unmarshalUser(data []byte) (*User, error) { function UserFromCapnp (line 132) | func UserFromCapnp(capUser capnp.User) (*User, error) { function marshalUser (line 187) | func marshalUser(user *User) ([]byte, error) { function UserToCapnp (line 201) | func UserToCapnp(user *User, seg *capnp_lib.Segment) (*capnp.User, error) { type User (line 254) | type User struct method CheckPassword (line 263) | func (u User) CheckPassword(password string) (bool, error) { function HashPassword (line 279) | func HashPassword(password string) (string, string, error) { FILE: gateway/db/db_test.go function withDummyDb (line 11) | func withDummyDb(t *testing.T, fn func(db *UserDatabase)) { function TestAddGet (line 24) | func TestAddGet(t *testing.T) { FILE: gateway/endpoints/all_dirs.go type AllDirsHandler (line 15) | type AllDirsHandler struct method ServeHTTP (line 30) | func (ah *AllDirsHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function NewAllDirsHandler (line 20) | func NewAllDirsHandler(s *State) *AllDirsHandler { type AllDirsResponse (line 25) | type AllDirsResponse struct FILE: gateway/endpoints/all_dirs_test.go function TestAllDirsSuccess (line 10) | func TestAllDirsSuccess(t *testing.T) { FILE: gateway/endpoints/copy.go type CopyHandler (line 13) | type CopyHandler struct method ServeHTTP (line 30) | func (ch *CopyHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... function NewCopyHandler (line 18) | func NewCopyHandler(s *State) *CopyHandler { type CopyRequest (line 23) | type CopyRequest struct FILE: gateway/endpoints/copy_test.go type copyResponse (line 10) | type copyResponse struct function TestCopySuccess (line 14) | func TestCopySuccess(t *testing.T) { function TestCopyDisallowedSource (line 44) | func TestCopyDisallowedSource(t *testing.T) { function TestCopyDisallowedDest (line 64) | func TestCopyDisallowedDest(t *testing.T) { FILE: gateway/endpoints/deleted.go type DeletedPathsHandler (line 18) | type DeletedPathsHandler struct method ServeHTTP (line 48) | func (dh *DeletedPathsHandler) ServeHTTP(w http.ResponseWriter, r *htt... function NewDeletedPathsHandler (line 23) | func NewDeletedPathsHandler(s *State) *DeletedPathsHandler { type DeletedPathsResponse (line 28) | type DeletedPathsResponse struct type DeletedRequest (line 34) | type DeletedRequest struct function matchEntry (line 40) | func matchEntry(info *catfs.StatInfo, filter string) bool { FILE: gateway/endpoints/deleted_test.go function TestDeletedPathSuccess (line 10) | func TestDeletedPathSuccess(t *testing.T) { FILE: gateway/endpoints/events.go type EventsHandler (line 22) | type EventsHandler struct method Notify (line 67) | func (eh *EventsHandler) Notify(ctx context.Context, msg string) error { method notify (line 71) | func (eh *EventsHandler) notify(ctx context.Context, msg string, isOwn... method Shutdown (line 101) | func (eh *EventsHandler) Shutdown() { method ServeHTTP (line 110) | func (eh *EventsHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewEventsHandler (line 37) | func NewEventsHandler(rapi remotesapi.RemotesAPI, ev *events.Listener) *... FILE: gateway/endpoints/events_test.go function TestEvents (line 15) | func TestEvents(t *testing.T) { FILE: gateway/endpoints/get.go type GetHandler (line 21) | type GetHandler struct method checkBasicAuth (line 62) | func (gh *GetHandler) checkBasicAuth(nodePath string, w http.ResponseW... method checkDownloadRight (line 107) | func (gh *GetHandler) checkDownloadRight(w http.ResponseWriter, r *htt... method checkDownloadRightByName (line 116) | func (gh *GetHandler) checkDownloadRightByName(name string, w http.Res... method ServeHTTP (line 131) | func (gh *GetHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewGetHandler (line 26) | func NewGetHandler(s *State) *GetHandler { function mimeTypeFromStream (line 30) | func mimeTypeFromStream(stream mio.Stream) (io.ReadSeeker, string) { function setContentDisposition (line 42) | func setContentDisposition(info *catfs.StatInfo, hdr http.Header, dispoT... FILE: gateway/endpoints/get_test.go function TestGetEndpointSuccess (line 12) | func TestGetEndpointSuccess(t *testing.T) { function TestGetEndpointDisallowed (line 31) | func TestGetEndpointDisallowed(t *testing.T) { FILE: gateway/endpoints/history.go type HistoryHandler (line 13) | type HistoryHandler struct method ServeHTTP (line 79) | func (hh *HistoryHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function NewHistoryHandler (line 18) | func NewHistoryHandler(s *State) *HistoryHandler { type HistoryRequest (line 23) | type HistoryRequest struct type Commit (line 29) | type Commit struct type HistoryEntry (line 38) | type HistoryEntry struct type HistoryResponse (line 47) | type HistoryResponse struct function toExternalCommit (line 52) | func toExternalCommit(cmt *catfs.Commit) Commit { function toExternalChange (line 69) | func toExternalChange(c catfs.Change) HistoryEntry { FILE: gateway/endpoints/history_test.go function TestHistoryEndpointSuccess (line 11) | func TestHistoryEndpointSuccess(t *testing.T) { function TestHistoryEndpointForbidden (line 56) | func TestHistoryEndpointForbidden(t *testing.T) { FILE: gateway/endpoints/index.go type IndexHandler (line 20) | type IndexHandler struct method loadTemplateData (line 29) | func (ih *IndexHandler) loadTemplateData() (io.ReadCloser, error) { method ServeHTTP (line 38) | func (ih *IndexHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... function NewIndexHandler (line 25) | func NewIndexHandler(s *State) *IndexHandler { FILE: gateway/endpoints/log.go type LogHandler (line 15) | type LogHandler struct method ServeHTTP (line 42) | func (lh *LogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewLogHandler (line 20) | func NewLogHandler(s *State) *LogHandler { type LogRequest (line 25) | type LogRequest struct type LogResponse (line 32) | type LogResponse struct function matchCommit (line 38) | func matchCommit(cmt *catfs.Commit, filter string) bool { FILE: gateway/endpoints/log_test.go function TestLogEndpointSuccess (line 11) | func TestLogEndpointSuccess(t *testing.T) { FILE: gateway/endpoints/login.go function getUserName (line 13) | func getUserName(store *sessions.CookieStore, w http.ResponseWriter, r *... function setSession (line 36) | func setSession(store *sessions.CookieStore, userName string, w http.Res... function clearSession (line 58) | func clearSession(store *sessions.CookieStore, w http.ResponseWriter, r ... type LoginHandler (line 77) | type LoginHandler struct method ServeHTTP (line 101) | func (lih *LoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewLoginHandler (line 82) | func NewLoginHandler(s *State) *LoginHandler { type LoginRequest (line 87) | type LoginRequest struct type LoginResponse (line 93) | type LoginResponse struct type LogoutHandler (line 152) | type LogoutHandler struct method ServeHTTP (line 161) | func (loh *LogoutHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function NewLogoutHandler (line 157) | func NewLogoutHandler(s *State) *LogoutHandler { type WhoamiHandler (line 176) | type WhoamiHandler struct method ServeHTTP (line 194) | func (wh *WhoamiHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewWhoamiHandler (line 181) | func NewWhoamiHandler(s *State) *WhoamiHandler { type WhoamiResponse (line 186) | type WhoamiResponse struct type authMiddleware (line 227) | type authMiddleware struct method ServeHTTP (line 234) | func (am *authMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Req... type dbUserKey (line 232) | type dbUserKey function checkRights (line 265) | func checkRights(w http.ResponseWriter, r *http.Request, rights ...strin... function AuthMiddleware (line 291) | func AuthMiddleware(s *State) func(http.Handler) http.Handler { FILE: gateway/endpoints/login_test.go type loginResponse (line 10) | type loginResponse struct function TestLoginEndpointSuccess (line 14) | func TestLoginEndpointSuccess(t *testing.T) { FILE: gateway/endpoints/ls.go type LsHandler (line 14) | type LsHandler struct method ServeHTTP (line 74) | func (lh *LsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewLsHandler (line 19) | func NewLsHandler(s *State) *LsHandler { type LsRequest (line 24) | type LsRequest struct type StatInfo (line 32) | type StatInfo struct function toExternalStatInfo (line 44) | func toExternalStatInfo(i *catfs.StatInfo) *StatInfo { type LsResponse (line 59) | type LsResponse struct function doQuery (line 66) | func doQuery(fs *catfs.FS, root, filter string) ([]*catfs.StatInfo, erro... FILE: gateway/endpoints/ls_test.go function TestLsEndpoint (line 11) | func TestLsEndpoint(t *testing.T) { FILE: gateway/endpoints/mkdir.go type MkdirHandler (line 13) | type MkdirHandler struct method ServeHTTP (line 28) | func (mh *MkdirHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... function NewMkdirHandler (line 18) | func NewMkdirHandler(s *State) *MkdirHandler { type MkdirRequest (line 23) | type MkdirRequest struct FILE: gateway/endpoints/mkdir_test.go type mkdirResponse (line 10) | type mkdirResponse struct function TestMkdirEndpointSuccess (line 15) | func TestMkdirEndpointSuccess(t *testing.T) { function TestMkdirEndpointInvalidPath (line 39) | func TestMkdirEndpointInvalidPath(t *testing.T) { FILE: gateway/endpoints/move.go type MoveHandler (line 13) | type MoveHandler struct method ServeHTTP (line 30) | func (mh *MoveHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... function NewMoveHandler (line 18) | func NewMoveHandler(s *State) *MoveHandler { type MoveRequest (line 23) | type MoveRequest struct FILE: gateway/endpoints/move_test.go type moveResponse (line 10) | type moveResponse struct function TestMoveSuccess (line 14) | func TestMoveSuccess(t *testing.T) { function TestMoveDisallowedSource (line 44) | func TestMoveDisallowedSource(t *testing.T) { function TestMoveDisallowedDest (line 64) | func TestMoveDisallowedDest(t *testing.T) { FILE: gateway/endpoints/pin.go type PinHandler (line 14) | type PinHandler struct method ServeHTTP (line 36) | func (ph *PinHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewPinHandler (line 20) | func NewPinHandler(s *State) *PinHandler { function NewUnpinHandler (line 25) | func NewUnpinHandler(s *State) *PinHandler { type PinRequest (line 30) | type PinRequest struct FILE: gateway/endpoints/pin_test.go type pinResponse (line 10) | type pinResponse struct function TestPinEndpointSuccess (line 15) | func TestPinEndpointSuccess(t *testing.T) { function TestPinEndpointForbidden (line 49) | func TestPinEndpointForbidden(t *testing.T) { FILE: gateway/endpoints/ping.go type PingHandler (line 9) | type PingHandler struct method ServeHTTP (line 23) | func (wh *PingHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... function NewPingHandler (line 14) | func NewPingHandler(s *State) *PingHandler { type PingResponse (line 19) | type PingResponse struct FILE: gateway/endpoints/ping_test.go function TestPingEndpointSuccess (line 10) | func TestPingEndpointSuccess(t *testing.T) { FILE: gateway/endpoints/redirect.go type RedirHandler (line 13) | type RedirHandler struct method ServeHTTP (line 24) | func (rh *RedirHandler) ServeHTTP(w http.ResponseWriter, req *http.Req... function NewHTTPRedirectHandler (line 18) | func NewHTTPRedirectHandler(redirPort int64) *RedirHandler { FILE: gateway/endpoints/remotes_add.go type RemotesAddHandler (line 16) | type RemotesAddHandler struct method ServeHTTP (line 91) | func (rh *RemotesAddHandler) ServeHTTP(w http.ResponseWriter, r *http.... function NewRemotesAddHandler (line 21) | func NewRemotesAddHandler(s *State) *RemotesAddHandler { type RemoteAddRequest (line 26) | type RemoteAddRequest struct function dedupeFolders (line 35) | func dedupeFolders(folders []remotesapi.Folder) []remotesapi.Folder { function validateFingerprint (line 56) | func validateFingerprint(fingerprint string, w http.ResponseWriter, r *h... function readRemoteRequest (line 66) | func readRemoteRequest(w http.ResponseWriter, r *http.Request) (*remotes... type RemotesModifyHandler (line 113) | type RemotesModifyHandler struct method ServeHTTP (line 122) | func (rh *RemotesModifyHandler) ServeHTTP(w http.ResponseWriter, r *ht... function NewRemotesModifyHandler (line 118) | func NewRemotesModifyHandler(s *State) *RemotesModifyHandler { FILE: gateway/endpoints/remotes_add_test.go constant TestFingerprint (line 12) | TestFingerprint = "QmgtEcRda8Nm4RMHQCBzGGXBE2zjQqvDXHfEye1zay3f1w:W1fKKb... function TestRemoteAddEndpoint (line 15) | func TestRemoteAddEndpoint(t *testing.T) { function TestRemoteModifyEndpoint (line 46) | func TestRemoteModifyEndpoint(t *testing.T) { FILE: gateway/endpoints/remotes_diff.go type RemotesDiffHandler (line 12) | type RemotesDiffHandler struct method ServeHTTP (line 72) | func (rh *RemotesDiffHandler) ServeHTTP(w http.ResponseWriter, r *http... function NewRemotesDiffHandler (line 17) | func NewRemotesDiffHandler(s *State) *RemotesDiffHandler { type RemoteDiffRequest (line 22) | type RemoteDiffRequest struct type DiffPair (line 28) | type DiffPair struct type Diff (line 34) | type Diff struct type RemoteDiffResponse (line 45) | type RemoteDiffResponse struct function convertSingles (line 50) | func convertSingles(infos []catfs.StatInfo) []*StatInfo { function convertPairs (line 59) | func convertPairs(pairs []catfs.DiffPair) []DiffPair { FILE: gateway/endpoints/remotes_diff_test.go function TestRemoteDiffEndpoint (line 11) | func TestRemoteDiffEndpoint(t *testing.T) { FILE: gateway/endpoints/remotes_list.go type RemoteListHandler (line 12) | type RemoteListHandler struct method ServeHTTP (line 27) | func (rh *RemoteListHandler) ServeHTTP(w http.ResponseWriter, r *http.... function NewRemotesListHandler (line 17) | func NewRemotesListHandler(s *State) *RemoteListHandler { type RemoteListResponse (line 22) | type RemoteListResponse struct FILE: gateway/endpoints/remotes_list_test.go function TestRemoteListEndpoint (line 11) | func TestRemoteListEndpoint(t *testing.T) { FILE: gateway/endpoints/remotes_remove.go type RemotesRemoveHandler (line 11) | type RemotesRemoveHandler struct method ServeHTTP (line 25) | func (rh *RemotesRemoveHandler) ServeHTTP(w http.ResponseWriter, r *ht... function NewRemotesRemoveHandler (line 16) | func NewRemotesRemoveHandler(s *State) *RemotesRemoveHandler { type RemoteRemoveRequest (line 21) | type RemoteRemoveRequest struct FILE: gateway/endpoints/remotes_remove_test.go function TestRemoteRemoveEndpoint (line 11) | func TestRemoteRemoveEndpoint(t *testing.T) { FILE: gateway/endpoints/remotes_self.go type RemoteSelfHandler (line 11) | type RemoteSelfHandler struct method ServeHTTP (line 27) | func (rh *RemoteSelfHandler) ServeHTTP(w http.ResponseWriter, r *http.... function NewRemotesSelfHandler (line 16) | func NewRemotesSelfHandler(s *State) *RemoteSelfHandler { type RemoteSelfResponse (line 21) | type RemoteSelfResponse struct FILE: gateway/endpoints/remotes_self_test.go function TestRemoteSelfEndpoint (line 10) | func TestRemoteSelfEndpoint(t *testing.T) { FILE: gateway/endpoints/remotes_sync.go type RemotesSyncHandler (line 11) | type RemotesSyncHandler struct method ServeHTTP (line 25) | func (rh *RemotesSyncHandler) ServeHTTP(w http.ResponseWriter, r *http... function NewRemotesSyncHandler (line 16) | func NewRemotesSyncHandler(s *State) *RemotesSyncHandler { type RemoteSyncRequest (line 21) | type RemoteSyncRequest struct FILE: gateway/endpoints/remotes_sync_test.go function TestRemoteSyncEndpoint (line 11) | func TestRemoteSyncEndpoint(t *testing.T) { FILE: gateway/endpoints/remove.go type RemoveHandler (line 13) | type RemoveHandler struct method ServeHTTP (line 27) | func (rh *RemoveHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewRemoveHandler (line 18) | func NewRemoveHandler(s *State) *RemoveHandler { type RemoveRequest (line 23) | type RemoveRequest struct FILE: gateway/endpoints/remove_test.go type removeResponse (line 10) | type removeResponse struct function TestRemoveEndpointSuccess (line 15) | func TestRemoveEndpointSuccess(t *testing.T) { function TestRemoveEndpointForbidden (line 44) | func TestRemoveEndpointForbidden(t *testing.T) { FILE: gateway/endpoints/reset.go type ResetHandler (line 13) | type ResetHandler struct method ServeHTTP (line 29) | func (rh *ResetHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... function NewResetHandler (line 18) | func NewResetHandler(s *State) *ResetHandler { type ResetRequest (line 23) | type ResetRequest struct FILE: gateway/endpoints/reset_test.go type resetResponse (line 12) | type resetResponse struct function TestResetSuccess (line 17) | func TestResetSuccess(t *testing.T) { function TestResetForbidden (line 50) | func TestResetForbidden(t *testing.T) { FILE: gateway/endpoints/testing.go constant testGwUser (line 24) | testGwUser = "ali" type testState (line 27) | type testState struct method mustRun (line 90) | func (s *testState) mustRun(t *testing.T, hdl http.Handler, verb, url ... method mustChangeFolders (line 103) | func (s *testState) mustChangeFolders(t *testing.T, folders ...string) { function withState (line 31) | func withState(t *testing.T, fn func(state *testState)) { function mustEncodeBody (line 78) | func mustEncodeBody(t *testing.T, v interface{}) io.Reader { function mustDecodeBody (line 84) | func mustDecodeBody(t *testing.T, body io.Reader, v interface{}) { FILE: gateway/endpoints/undelete.go type UndeleteHandler (line 13) | type UndeleteHandler struct method ServeHTTP (line 28) | func (uh *UndeleteHandler) ServeHTTP(w http.ResponseWriter, r *http.Re... function NewUndeleteHandler (line 18) | func NewUndeleteHandler(s *State) *UndeleteHandler { type UndeleteRequest (line 23) | type UndeleteRequest struct FILE: gateway/endpoints/undelete_test.go type undeleteResponse (line 10) | type undeleteResponse struct function TestUndeleteEndpointSuccess (line 15) | func TestUndeleteEndpointSuccess(t *testing.T) { function TestUndeleteEndpointInvalidPath (line 47) | func TestUndeleteEndpointInvalidPath(t *testing.T) { FILE: gateway/endpoints/upload.go type UploadHandler (line 13) | type UploadHandler struct method ServeHTTP (line 22) | func (uh *UploadHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewUploadHandler (line 18) | func NewUploadHandler(s *State) *UploadHandler { FILE: gateway/endpoints/upload_test.go function mustDoUpload (line 17) | func mustDoUpload(t *testing.T, s *testState, name string, data []byte) ... function TestUploadSuccess (line 43) | func TestUploadSuccess(t *testing.T) { function TestUploadForbidden (line 62) | func TestUploadForbidden(t *testing.T) { FILE: gateway/endpoints/util.go type State (line 26) | type State struct method Close (line 84) | func (s *State) Close() error { method UserDatabase (line 90) | func (s *State) UserDatabase() *db.UserDatabase { method publishFsEvent (line 94) | func (s *State) publishFsEvent(req *http.Request) { method pathIsVisible (line 133) | func (s *State) pathIsVisible(nodePath string, w http.ResponseWriter, ... method validatePath (line 179) | func (s *State) validatePath(nodePath string, w http.ResponseWriter, r... method validatePathForUser (line 198) | func (s *State) validatePathForUser(nodePath string, user db.User, w h... method commitChange (line 259) | func (s *State) commitChange(msg string, w http.ResponseWriter, r *htt... function readOrInitKeyFromConfig (line 36) | func readOrInitKeyFromConfig(cfg *config.Config, keyName string, keyLen ... function NewState (line 49) | func NewState( function prefixRoot (line 116) | func prefixRoot(nodePath string) string { function buildFolderCache (line 124) | func buildFolderCache(folders []string) map[string]bool { function jsonify (line 222) | func jsonify(w http.ResponseWriter, statusCode int, data interface{}) { function jsonifyErrf (line 236) | func jsonifyErrf(w http.ResponseWriter, statusCode int, format string, d... function jsonifySuccess (line 255) | func jsonifySuccess(w http.ResponseWriter) { type secureMiddleware (line 280) | type secureMiddleware struct method ServeHTTP (line 285) | func (sm *secureMiddleware) ServeHTTP(w http.ResponseWriter, r *http.R... function SecureMiddleware (line 315) | func SecureMiddleware(s *State) func(http.Handler) http.Handler { FILE: gateway/remotesapi/api.go type Folder (line 13) | type Folder struct type Remote (line 20) | type Remote struct type Identity (line 33) | type Identity struct type RemotesAPI (line 40) | type RemotesAPI interface FILE: gateway/remotesapi/mock.go type Mock (line 14) | type Mock struct method List (line 32) | func (m *Mock) List() ([]*Remote, error) { method Get (line 42) | func (m *Mock) Get(name string) (*Remote, error) { method Set (line 54) | func (m *Mock) Set(rm Remote) error { method Remove (line 80) | func (m *Mock) Remove(name string) error { method Self (line 91) | func (m *Mock) Self() (Identity, error) { method Sync (line 100) | func (m *Mock) Sync(name string) error { method MakeDiff (line 125) | func (m *Mock) MakeDiff(name string) (*catfs.Diff, error) { method notify (line 166) | func (m *Mock) notify() { method OnChange (line 173) | func (m *Mock) OnChange(fn func()) { function NewMock (line 23) | func NewMock(name, fingerprint string) *Mock { function dummyNode (line 108) | func dummyNode(path, user string, isDir bool) catfs.StatInfo { FILE: gateway/server.go type Gateway (line 37) | type Gateway struct method Stop (line 98) | func (gw *Gateway) Stop() error { method Start (line 128) | func (gw *Gateway) Start() { method UserDatabase (line 262) | func (gw *Gateway) UserDatabase() *db.UserDatabase { method Close (line 267) | func (gw *Gateway) Close() error { function NewGateway (line 49) | func NewGateway(fs *catfs.FS, rapi remotesapi.RemotesAPI, cfg *config.Co... type csrfErrorHandler (line 118) | type csrfErrorHandler struct method ServeHTTP (line 120) | func (ch *csrfErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.R... FILE: gateway/server_test.go function withBasicGateway (line 22) | func withBasicGateway(t *testing.T, fn func(gw *Gateway, fs *catfs.FS)) { function buildURL (line 74) | func buildURL(gw *Gateway, suffix string) string { function ping (line 79) | func ping(t *testing.T, gw *Gateway) bool { function queryWithAuth (line 84) | func queryWithAuth(t *testing.T, gw *Gateway, suffix, user, pass string)... function TestGatewayOK (line 100) | func TestGatewayOK(t *testing.T) { function TestGatewayNoSuchFile (line 112) | func TestGatewayNoSuchFile(t *testing.T) { function TestGatewayUnauthorizedBadFolder (line 120) | func TestGatewayUnauthorizedBadFolder(t *testing.T) { function TestGatewayUnauthorizedBadUser (line 133) | func TestGatewayUnauthorizedBadUser(t *testing.T) { function TestGatewayUnauthorizedBadPass (line 145) | func TestGatewayUnauthorizedBadPass(t *testing.T) { function TestGatewayConfigChangeEnabled (line 157) | func TestGatewayConfigChangeEnabled(t *testing.T) { function TestGatewayConfigChangePort (line 175) | func TestGatewayConfigChangePort(t *testing.T) { FILE: gateway/static/js/app.js function e (line 1) | function e(t,e,n){return n.a=t,n.f=e,n} function R (line 1) | function R(n){return e(2,n,function(e){return function(t){return n(e,t)}})} function d (line 1) | function d(r){return e(3,r,function(n){return function(e){return functio... function f (line 1) | function f(a){return e(4,a,function(r){return function(n){return functio... function n (line 1) | function n(u){return e(5,u,function(a){return function(r){return functio... function r (line 1) | function r(i){return e(6,i,function(u){return function(a){return functio... function a (line 1) | function a(o){return e(7,o,function(i){return function(u){return functio... function u (line 1) | function u(s){return e(9,s,function(c){return function(o){return functio... function M (line 1) | function M(t,e,n){return 2===t.a?t.f(e,n):t(e)(n)} function C (line 1) | function C(t,e,n,r){return 3===t.a?t.f(e,n,r):t(e)(n)(r)} function $ (line 1) | function $(t,e,n,r,a){return 4===t.a?t.f(e,n,r,a):t(e)(n)(r)(a)} function x (line 1) | function x(t,e,n,r,a,u){return 5===t.a?t.f(e,n,r,a,u):t(e)(n)(r)(a)(u)} function A (line 1) | function A(t,e,n,r,a,u,i){return 6===t.a?t.f(e,n,r,a,u,i):t(e)(n)(r)(a)(... function l (line 1) | function l(t,e,n,r,a,u,i,o){return 7===t.a?t.f(e,n,r,a,u,i,o):t(e)(n)(r)... function h (line 1) | function h(t,e){return{$:"::",a:t,b:e}} function L (line 1) | function L(t){for(var e=m,n=t.length;n--;)e=h(t[n],e);return e} function o (line 1) | function o(t){for(var e=[];t.b;t=t.b)e.push(t.a);return e} function _ (line 1) | function _(t,e){for(var n,r=[],a=v(t,e,0,r);a&&(n=r.pop());a=v(n.a,n.b,0... function v (line 1) | function v(t,e,n,r){if(100