<commit_before>package dropboxclient

import (
	"encoding/json"
	"io"
	"net/http"
	"strconv"
)

type DropboxFile struct {
	Bytes    int64  `json:"bytes"`
	Modified string `json:"modified"`
	ETag     string
	Reader   io.ReadCloser
}

type ChunkedUploadResult struct {
	UploadId string `json:"upload_id"`
	Offset   int64  `json:"offset"`
}

type CommitChunkedUploadResult struct {
	Path string `json:"path"`
}

func DropboxFileFromHeaders(path string, headers http.Header) (file *DropboxFile) {<commit_msg>Added IsDir to DropboxFile<commit_after>package dropboxclient

import (
	"encoding/json"
	"io"
	"net/http"
	"strconv"
)

type DropboxFile struct {
	IsDir    bool   `json:"is_dir"`
	Bytes    int64  `json:"bytes"`
	Modified string `json:"modified"`
	ETag     string
	Reader   io.ReadCloser
}

type ChunkedUploadResult struct {
	UploadId string `json:"upload_id"`
	Offset   int64  `json:"offset"`
}

type CommitChunkedUploadResult struct {
	Path string `json:"path"`
}

func DropboxFileFromHeaders(path string, headers http.Header) (file *DropboxFile) {
{'fraction_non_alphanumeric': 0.10910815939278938, 'fraction_numerical': 0.007590132827324478, 'mean_word_length': 4.893854748603352, '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': '6995915', 'n_tokens_mistral': 367, 'n_tokens_neox': 362, 'n_words': 90}