<commit_before>// Copyright 2016 The Upspin 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 access parses access control files.
//
// Access files have the following format:
// <access type>[, <access type]: <email>[, <email>, ...]
//
// Anything after a '#' character is ignored
//
// Example:
//
//	Read: <EMAIL>, <EMAIL>
//	Write: <EMAIL>, <EMAIL>, <EMAIL>
//	Append,Write: <EMAIL> # This is a comment
package access // import "upspin.io/access"

import (
	"bufio"
	"bytes"
	"encoding/json"
	"sort"
	"strconv"<commit_msg>access: fix typos and inaccuracies in package doc, discuss Groups<commit_after>// Copyright 2016 The Upspin 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 access parses Access and Group files.
//
// If a '#' character is present in a Group or Access file
// the remainder of that line is ignored.
//
// Each line of an Access file specifies a set of rights
// and the users and/or groups to be granted those rights:
// 	<right>[, <right>]: <user/group>[, <user/group>, ...]
// Example:
//	Read,List: <EMAIL>, friends
//	Write: <EMAIL>, <EMAIL>
//	Delete: <EMAIL> # This is a comment.
//
// Each line of a Group file specifies a user or group
// to be included in the group:
// 	<user/group>
// Example:
//	<EMAIL> # A user.
// 	<EMAIL>
// 	admins # A group defined in this user's tree.
//
package access // import "upspin.io/access"

import (
	"bufio"
	"bytes"
	"encoding/json"
	"sort"
	"strconv"
{'fraction_non_alphanumeric': 0.1440940012368584, 'fraction_numerical': 0.004947433518862091, 'mean_word_length': 3.0962025316455697, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 23, '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': '3343479', 'n_tokens_mistral': 538, 'n_tokens_neox': 519, 'n_words': 216}