getting some interface to fs
This commit is contained in:
parent
f04a316860
commit
77128e1a7e
11 changed files with 144 additions and 36 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue