aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/file_storage/defs/provider.h
blob: d528e1a30109e73536eabf583371eaf381759424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <util/folder/path.h>

#include <functional>
#include <utility>

namespace NYql::NFS {

// This function is called by the storage to transfer user data to the provided temporary file path
// Returns content size and md5
using TDataProvider = std::function<std::pair<ui64, TString> (const TFsPath& dstPath)>;

} // NYql