From 1323851bd589dfebe266ede8844b810a4b9c28e2 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Wed, 28 Mar 2018 12:56:34 +0200 Subject: [PATCH] fix blast from the past --- src/vs/platform/files/common/files.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/vs/platform/files/common/files.ts b/src/vs/platform/files/common/files.ts index c9d7d12260d..a6d2eac1d88 100644 --- a/src/vs/platform/files/common/files.ts +++ b/src/vs/platform/files/common/files.ts @@ -493,9 +493,10 @@ export interface IResolveContentOptions { acceptTextOnly?: boolean; /** - * The optional etag parameter allows to return a 304 (Not Modified) if the etag matches - * with the remote resource. It is the task of the caller to makes sure to handle this - * error case from the promise. + * The optional etag parameter allows to return early from resolving the resource if + * the contents on disk match the etag. This prevents accumulated reading of resources + * that have been read already with the same etag. + * It is the task of the caller to makes sure to handle this error case from the promise. */ etag?: string; -- GitLab