<commit_before># kixi.datastore

## Using the REPL for administration

Beforehand:

``` clojure
(require '[kixi.datastore.kaylee :as k])
```

**To retrieve all metadata about a file:**

``` clojure
(k/get-metadata "<file-id>")
```

**To get all the metadata visible to a particular group:**

``` clojure
(k/get-metadata-by-group ["<group-id1>" ["<group-id2>" ...] <starting-index> <num-of-results> )
```

Use the starting index and number of results parameters to appropriately page the results.

**To remove sharing information from a file (aka *hide* it):**

```clojure
(k/remove-all-sharing "<user-id>" "<file-id>")
```

## License

Copyright © 2016 <NAME>

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.
<commit_msg>Make `user-id` requirement more specific<commit_after># kixi.datastore

## Using the REPL for administration

Beforehand:

``` clojure
(require '[kixi.datastore.kaylee :as k])
```

**To retrieve all metadata about a file:**

``` clojure
(k/get-metadata "<file-id>")
```

**To get all the metadata visible to a particular group:**

``` clojure
(k/get-metadata-by-group ["<group-id1>" ["<group-id2>" ...] <starting-index> <num-of-results> )
```

Use the starting index and number of results parameters to appropriately page the results.

**To remove sharing information from a file (aka *hide* it):**

```clojure
(k/remove-all-sharing "<your-user-uid>" "<file-id>")
```

## License

Copyright © 2016 <NAME>

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.

{'fraction_non_alphanumeric': 0.15646687697160883, 'fraction_numerical': 0.010094637223974764, 'mean_word_length': 4.604240282685512, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '1803964', 'n_tokens_mistral': 545, 'n_tokens_neox': 512, 'n_words': 180}