getting some interface to fs

This commit is contained in:
Paul Schneider 2019-08-25 01:47:46 +01:00
commit 77128e1a7e
11 changed files with 144 additions and 36 deletions

View file

@ -47,6 +47,7 @@ namespace Yavsc.ApiControllers
if (subdir !=null)
if (!subdir.IsValidYavscPath())
return new BadRequestResult();
// _logger.LogInformation($"listing files from {User.Identity.Name}{subdir}");
var files = AbstractFileSystemHelpers.GetUserFiles(User.Identity.Name, subdir);
return Ok(files);
}