MCPcopy Create free account
hub / github.com/dropbox/dbxcli / sampleJSONFileMetadata

Function sampleJSONFileMetadata

cmd/json_contract_test.go:931–942  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

929}
930
931func sampleJSONFileMetadata(path string) jsonMetadata {
932 return jsonMetadata{
933 Type: "file",
934 PathDisplay: path,
935 PathLower: strings.ToLower(path),
936 ID: "id:file",
937 Rev: "015f",
938 Size: uint64Ptr(123),
939 ServerModified: jsonContractStringPtr("2026-06-25T12:00:00Z"),
940 ClientModified: jsonContractStringPtr("2026-06-25T11:00:00Z"),
941 }
942}
943
944func sampleJSONFolderMetadata(path string) jsonMetadata {
945 return jsonMetadata{

Callers 1

Calls 2

uint64PtrFunction · 0.85
jsonContractStringPtrFunction · 0.85

Tested by

no test coverage detected