<commit_before>// Copyright 2015 The Tango Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package session

import (
	"net/http"
	"time"
)

type Session struct {
	id      Id
	maxAge  time.Duration
	manager *Sessions
	rw      http.ResponseWriter
}

func (session *Session) Id() Id {
	return session.id
}

func (session *Session) SetId(id Id) {
	session.id = id
}

func (session *Session) Count() int64 {
	return session.manager.Store.Count()
}<commit_msg>Revert "Update session.go"<commit_after>// Copyright 2015 The Tango Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package session

import (
	"net/http"
	"time"
)

type Session struct {
	id      Id
	maxAge  time.Duration
	manager *Sessions
	rw      http.ResponseWriter
}

func (session *Session) Id() Id {
	return session.id
}

func (session *Session) SetId(id Id) {
	session.id = id
}
{'fraction_non_alphanumeric': 0.09763313609467456, 'fraction_numerical': 0.009861932938856016, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1812096', 'n_tokens_mistral': 340, 'n_tokens_neox': 327, 'n_words': 125}