<s> """<STR_LIT>""" <EOL> import abc <EOL> from dfvfs . lib import errors <EOL> from dfvfs . vfs import file_system <EOL> class RootOnlyFileSystem ( file_system . FileSystem ) : <EOL> """<STR_LIT>""" <EOL> def _Close ( self ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def _Open ( self , path_spec , mode = '<STR_LIT:rb>' ) : <EOL> """<STR_LIT>""" <EOL> if not path_spec . HasParent ( ) : <EOL> raise errors . PathSpecError ( <EOL> u'<STR_LIT>' ) <EOL> def FileEntryExistsByPathSpec ( self , path_spec ) : <EOL> """<STR_LIT>""" <EOL> return True <EOL> def GetFileEntryByPathSpec ( self , path_spec ) : <EOL> """<STR_LIT>""" <EOL> return self . GetRootFileEntry ( ) <EOL> @ abc . abstractmethod <EOL> def GetRootFileEntry ( self ) : <EOL> """<STR_LIT>""" </s>
