diff --git a/src/vs/platform/files/common/files.ts b/src/vs/platform/files/common/files.ts index c9d7d12260dc72e0d5cb7c33517981599c866f80..a6d2eac1d88d0d7908d3cd0f6538693132d454b1 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;