class ChrootFileSystem(FileSystem):
'''ChrootFileSystem(fs, path) exposes a FileSystem whose root is |path| inside
- |fs|, so ChrootFileSystem(fs, '/hello').Read(['/world']) is equivalent to
- fs.Read(['/hello/world']) with the '/hello' prefix stripped from the result.
+ |fs|, so ChrootFileSystem(fs, 'hello').Read(['world']) is equivalent to
+ fs.Read(['hello/world']) with the 'hello' prefix stripped from the result.
'''
def __init__(self, file_system, root):