1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-12 16:11:24 +08:00

20 Commits

Author SHA1 Message Date
99f2378bac mount: fixed mount init + teardown
This commit adds a Mount abstraction (which is really just
a wrapped context closer). It makes sure to bind the mount
to the fate of the Node (i.e. close it if the node ends).
This fixes #350
2014-11-16 01:42:42 -08:00
7d448d9dab cmds mount synopsis 2014-11-15 09:04:49 -08:00
f30161b063 cmds: nicer error on no mountpoint 2014-11-14 03:20:46 -08:00
5e598f9a52 cmds2: mount exmplae 2014-11-14 03:20:11 -08:00
e35453c50d mount: Cleaned up option descriptions 2014-11-14 03:20:06 -08:00
047d2e2d62 cmd2: Marshaller -> Marshaler (see golang/encoding)
Also:
- map[cmds.EncodingType]cmds.Marshaller -> MarshalMap

cc @mappum @maybebtc
2014-11-14 03:20:05 -08:00
7f24a9965f core/commands: Ported commands to use HelpText struct for helptext fields 2014-11-14 03:20:03 -08:00
d18902df27 cmds2: changed how the ctx.Node works 2014-11-14 03:20:02 -08:00
cc37cc18c9 question(mount_unix) add todo regarding mount timeout
@whyrusleeping @jbenet

is this non-deterministic?
2014-11-14 03:19:59 -08:00
33ba3f6321 refactor(mount_unix) return the errs in select
fix(mount_unix) rm extraneous error
2014-11-14 03:19:58 -08:00
b6f89db1d4 fix(mount_unix) optionvalue signature
@mappum can you just sanity check me here with a quick LGTM CR?
2014-11-14 03:19:58 -08:00
654fa3fe96 fix(commands/mount_unix, optionvalue) handle found, !found
@mappum, could you provide a quick LGTM?
2014-11-14 03:19:57 -08:00
3e507f7c9f commands: Changed option accessor API (Request#Option now returns an OptionValue) 2014-11-14 03:17:38 -08:00
8ee3e996cc core/commands2: Use Option constructors in commands 2014-11-14 03:17:37 -08:00
3e30093c2b core/commands2: Updated commands to new Run function API 2014-11-14 03:17:37 -08:00
c8696a8d32 core/commands2: Better formatted descriptions for 'mount' 2014-11-14 03:17:33 -08:00
c2615d3481 core/commands2: Added descriptions for all the existing commands 2014-11-14 03:17:33 -08:00
c69ea0d6e2 add fixmes 2014-11-14 03:17:32 -08:00
ff55968b4c fix(mount) add argument 2014-11-14 03:17:31 -08:00
1c5979e549 core/commands2: Added 'mount' command 2014-11-14 03:17:29 -08:00