Bonobo::Storage questions



Hi,

Currently I have everything but ::rename and ::copyTo implemented:

[gnome2] 13:28:18 [cactus galaxy tests]$ ./test-storage-mem 
creating storage:	passed	'/foo'
creating sub-storage:	passed	'/foo/bar'
creating stream:	passed	'/foo/bar/baz'
creating stream:	passed	'/foo/quux'
opening stream:		passed
opening missing stream:	failed: IDL:Bonobo/Storage/NotFound:1.0
getInfo (storage):	passed
				name:	foo
				type:	storage
getInfo (stream):	passed
				name:	quux
				type:	stream
				mime:	application/octet-stream
getInfo (root):		passed
				name:	'/'
				type:	storage
listContents:		passed
				bar/
				quux 
erase (non-empty strg):	failed: IDL:Bonobo/Storage/NotEmpty:1.0
erase (stream):		passed
erase (empty storage):	passed
getInfo (dltd stream):	failed: IDL:Bonobo/Storage/NotFound:1.0


But I am having problems interpreting what ::rename and ::copyTo can do.
Can you ::rename something by also relocating it? (i.e. can you rename
/foo/bar/baz to /foo/quux/dude?) Or does it only work inside the same
storage? Or only on toplevels?
Also, can you ::copyTo to a storage contained within the orignial storage?

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Boszorkányok pedig intsenek...





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]