Lines Matching defs:content
64 bool LoadPhysicalFile (const string& path, vector<u8>& content)
69 content.assign((std::istreambuf_iterator<char>(file)),
75 bool StoreFile (const string& uniqueFilename, const vector<u8>& content)
77 return ServiceStore.Set(uniqueFilename, content);
80 bool GetFile (const string& path, vector<u8>& content, bool removeAfter)
82 return ServiceStore.Get(path, content, removeAfter) || LoadPhysicalFile(path, content);
85 bool AppendFile (const string& path, const vector<u8>& content, bool clear)
92 std::copy(content.begin(), content.end(), std::ostream_iterator<u8>{file});