<commit_before>package libclc

import (
  "text/template"
  "bufio"
)

type File struct {
  Path string
  Content string
  Owner string
  Permissions string
}

type CloudConfig struct {
  DiscoveryUrl string
  Files []*File
}

func WriteCloudConfig(config *CloudConfig, t *template.Template, path string) (error) {
  return WriteTemplate("cc", config, t, path)
}

func BufferCloudConfig(config *CloudConfig, t *template.Template, w *bufio.Writer) (error) {
  return BufferTemplate("cc", config, t, w)
}<commit_msg>Add host path to file model.<commit_after>package libclc

import (
  "text/template"
  "bufio"
)

type File struct {
  HostPath string
  Path string
  Content string
  Owner string
  Permissions string
}

type CloudConfig struct {
  DiscoveryUrl string
  Files []*File
}

func WriteCloudConfig(config *CloudConfig, t *template.Template, path string) (error) {
  return WriteTemplate("cc", config, t, path)
}

func BufferCloudConfig(config *CloudConfig, t *template.Template, w *bufio.Writer) (error) {
  return BufferTemplate("cc", config, t, w)
}
{'fraction_non_alphanumeric': 0.10461828463713478, 'fraction_numerical': 0.0, 'mean_word_length': 4.7405405405405405, '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': '837419', 'n_tokens_mistral': 339, 'n_tokens_neox': 335, 'n_words': 105}