Examples of DirectoryData


Examples of io.fathom.cloud.protobuf.FileModel.DirectoryData

        if (!bucket.data.hasRootId()) {
            return Lists.newArrayList();
        }

        DirectoryData dir = directoryStorage.find(bucket.data.getRootId());
        if (dir == null) {
            throw new IllegalStateException();
        }

        List<DirectoryListEntry> entries = Lists.newArrayList();
        for (FileData file : dir.getFilesList()) {
            entries.add(new DirectoryListEntry(file.getKey(), file));
        }

        return entries;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.