Commit Graph

7 Commits

Author SHA1 Message Date
Łukasz Magiera
604b187cca path: add tests for ipld paths
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-07-17 08:43:48 +02:00
Łukasz Magiera
ae528640d9 misc: Remove some dead code
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-21 01:34:04 +01:00
Jakub Sztandera
6546aeade7
fix: multiple govet warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 01:02:50 +01:00
Stephen Whitmore
cf0a85b7a4 Implements Path.PopLastSegment().
This allows a path (/ipfs/foo/bar) to be separated between its head
(/ipfs/foo) and its tail (bar).

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-24 23:29:41 -08:00
Stephen Whitmore
8a2bdc86fb wip
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-21 16:38:16 +01:00
Stephen Whitmore
bc49bee623 Implements path.IsJustAKey().
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-01-16 03:10:28 +01:00
Jeromy
839759ae4f add tests for path parsing
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-07-14 12:16:10 -07:00