def __init__(self, fs, on_init=None, on_destroy=None): self.fs = ensure_xattrs(fs) self._fhmap = {} self._on_init = on_init self._on_destroy = on_destroy
def setUp(self): fs = tempfs.TempFS() self.fs = ensure_xattrs(fs)
def setUp(self): self.fs = ensure_xattrs(memoryfs.MemoryFS())
def __init__(self,fs,on_init=None,on_destroy=None): self.fs = ensure_xattrs(fs) self._fhmap = {} self._on_init = on_init self._on_destroy = on_destroy
def setUp(self): self.fs = ensure_xattrs(tempfs.TempFS())