Skip to content

Commit

Permalink
Add getter for file size.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 0530657 commit fbbc2e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XrdFileCache/XrdFileCacheFile.hh
Expand Up @@ -194,6 +194,8 @@ namespace XrdFileCache
std::string GetLocalPath() { return m_temp_filename; }

XrdOucTrace* GetTrace();

long long GetFileSize() { return m_fileSize;}
private:
bool overlap(int blk, // block to query
long long blk_size, //
Expand Down

0 comments on commit fbbc2e6

Please sign in to comment.