C# Class Bari.Plugins.FSRepository.Model.LocalFileSystemRepositoryAccess

Inheritance: IFileSystemRepositoryAccess
Afficher le fichier Open project: vigoo/bari

Méthodes publiques

Méthode Description
Copy ( string path, IFileSystemDirectory targetDir, string targetFileName ) : void

Copies a file from the FS repository to a given target directory

Exists ( string path ) : bool

Checks if the repository contains a valid file in the given path

GetDirectory ( string path ) : IFileSystemDirectory

Gets the directory for a given path (the path's file name part is not used)

ListFiles ( string path ) : IEnumerable

Lists all the files in the given directory inside the FS repository

LocalFileSystemRepositoryAccess ( [ suiteRoot ) : System.Collections.Generic

Method Details

Copy() public méthode

Copies a file from the FS repository to a given target directory
public Copy ( string path, IFileSystemDirectory targetDir, string targetFileName ) : void
path string Path to the file in the FS repository
targetDir IFileSystemDirectory Target directory
targetFileName string Target file name
Résultat void

Exists() public méthode

Checks if the repository contains a valid file in the given path
public Exists ( string path ) : bool
path string Path to the file
Résultat bool

GetDirectory() public méthode

Gets the directory for a given path (the path's file name part is not used)
public GetDirectory ( string path ) : IFileSystemDirectory
path string Path to the file
Résultat IFileSystemDirectory

ListFiles() public méthode

Lists all the files in the given directory inside the FS repository
public ListFiles ( string path ) : IEnumerable
path string Directory path
Résultat IEnumerable

LocalFileSystemRepositoryAccess() public méthode

public LocalFileSystemRepositoryAccess ( [ suiteRoot ) : System.Collections.Generic
suiteRoot [
Résultat System.Collections.Generic