blob: dc8a18810e6f6d2e88c75b1e3c9dae434862a6e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/string.h>
#include <vespa/vespalib/util/time.h>
namespace search {
class FileKit
{
public:
/**
* Returns the modification time of the given file/directory,
* or time stamp 0 if stating of file/directory fails.
**/
static vespalib::system_time getModificationTime(const vespalib::string &name);
};
}
|