blob: 8d01fa1becdbc21978e1fb4d45bd4492e8913ef6 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.fs;
using zx;
/// `Query` exposes objective filesystem information independent of specific
/// files and directories.
@discoverable
protocol Query {
/// Checks if a node is associated with this filesystem, given some token
/// representing a connection to that node.
IsNodeInFilesystem(resource struct {
token zx.handle:EVENT;
}) -> (struct {
is_in_filesystem bool;
});
};