[][src]Struct pachyderm::pfs::ListFileRequest

pub struct ListFileRequest {
    pub file: Option<File>,
    pub full: bool,
    pub history: i64,
}

Fields

file: Option<File>

File is the parent directory of the files we want to list. This sets the repo, the commit/branch, and path prefix of files we're interested in If the "path" field is omitted, a list of files at the top level of the repo is returned

full: bool

Full indicates whether the result should include file contents, which may be large (i.e. the list of children for directories, and the list of object references for regular files)

history: i64

History indicates how many historical versions you want returned. Its semantics are: 0: Return the files as they are at the commit in file. FileInfo.File will equal File in this request. 1: Return the files as they are in the last commit they were modified in. (This will have the same hash as if you'd passed 0, but FileInfo.File.Commit will be different. 2: Return the above and the files as they are in the next-last commit they were modified in. 3: etc. -1: Return all historical versions.

Trait Implementations

impl Clone for ListFileRequest[src]

impl Debug for ListFileRequest[src]

impl Default for ListFileRequest[src]

impl Message for ListFileRequest[src]

impl PartialEq<ListFileRequest> for ListFileRequest[src]

impl StructuralPartialEq for ListFileRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]