old_contents: import re
  from .view import View
  from log import log
  from gitfs.filesystems.passthrough import PassthroughFuse
  
  
  class CurrentView(View, PassthroughFuse):
  
      def __init__(self, *args, **kwargs):
          super(CurrentView, self).__init__(*args, **kwargs)
          self.root = self.repo_path
  
      def rename(self, old, new):
          new = re.sub(self.regex, '', new)
          super(CurrentView, self).rename(old, new)
  
new_contents: import re
  import os
  from .view import View
  from gitfs.filesystems.passthrough import PassthroughFuse
  
  
  class CurrentView(View, PassthroughFuse):
  
      def __init__(self, *args, **kwargs):
          super(CurrentView, self).__init__(*args, **kwargs)
          self.root = self.repo_path
  
      def rename(self, old, new):
          new = re.sub(self.regex, '', new)
          super(CurrentView, self).rename(old, new)
  
      def symlink(self, name, target):
          return os.symlink(target, self._full_path(name))
  
      def readlink(self, path):
          return os.readlink(self._full_path(path))
  
subject: support for create/access symlinks