code: function getFolds(path) {
          var context = getViewStateContext();
          var folds = PreferencesManager.getViewState(FOLDS_PREF_KEY, context);
          return inflate(folds[path]);
      }
docs: Gets the line folds saved for the specified path.
  @param {string} path the document path
  @return {Object} the line folds for the document at the specified path