C# 클래스 Bari.Plugins.FSRepository.Model.LocalFileSystemRepositoryAccess

상속: IFileSystemRepositoryAccess
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

메소드 설명
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

메소드 상세

Copy() 공개 메소드

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
리턴 void

Exists() 공개 메소드

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

GetDirectory() 공개 메소드

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
리턴 IFileSystemDirectory

ListFiles() 공개 메소드

Lists all the files in the given directory inside the FS repository
public ListFiles ( string path ) : IEnumerable
path string Directory path
리턴 IEnumerable

LocalFileSystemRepositoryAccess() 공개 메소드

public LocalFileSystemRepositoryAccess ( [ suiteRoot ) : System.Collections.Generic
suiteRoot [
리턴 System.Collections.Generic